37 lines
1.0 KiB
Go
37 lines
1.0 KiB
Go
package response
|
|
|
|
type Site struct {
|
|
ID *int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
PartnerID int64 `json:"partner_id"`
|
|
Image string `json:"image"`
|
|
Address string `json:"address"`
|
|
LocationLink string `json:"location_link"`
|
|
Description string `json:"description"`
|
|
Highlight string `json:"highlight"`
|
|
ContactPerson string `json:"contact_person"`
|
|
TnC string `json:"tnc"`
|
|
AdditionalInfo string `json:"additional_info"`
|
|
Status string `json:"status"`
|
|
IsSeasonTicket bool `json:"is_season_ticket"`
|
|
IsDiscountActive bool `json:"is_discount_active"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type SiteName struct {
|
|
ID *int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
type SiteCount struct {
|
|
Count int `json:"count"`
|
|
}
|
|
|
|
type SiteList struct {
|
|
Sites []Site `json:"sites"`
|
|
Total int64 `json:"total"`
|
|
Limit int `json:"limit"`
|
|
Offset int `json:"offset"`
|
|
}
|