19 lines
481 B
Go
19 lines
481 B
Go
package response
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type PromotionsResponse struct {
|
|
ID uint `json:"id"`
|
|
Title string `json:"title"`
|
|
Description *string `json:"description"`
|
|
ThumbnailPath *string `json:"thumbnail_path"`
|
|
ThumbnailUrl *string `json:"thumbnail_url"`
|
|
StatusId *int `json:"status_id"`
|
|
IsActive *bool `json:"is_active"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|
|
|