18 lines
563 B
Go
18 lines
563 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type AdvertisementResponse struct {
|
||
|
|
ID uint `json:"id"`
|
||
|
|
Title string `json:"title"`
|
||
|
|
Description string `json:"description"`
|
||
|
|
RedirectLink string `json:"redirectLink"`
|
||
|
|
ContentFileUrl string `json:"contentFileUrl"`
|
||
|
|
Placement string `json:"placement"`
|
||
|
|
StatusId int `json:"statusId"`
|
||
|
|
IsPublish bool `json:"isPublish"`
|
||
|
|
IsActive bool `json:"isActive"`
|
||
|
|
CreatedAt time.Time `json:"createdAt"`
|
||
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
||
|
|
}
|