2024-08-03 20:01:25 +07:00
|
|
|
package entity
|
|
|
|
|
|
|
|
|
|
type DiscoverySearch struct {
|
|
|
|
|
Lat float64
|
|
|
|
|
Long float64
|
|
|
|
|
Name string
|
|
|
|
|
Region string
|
2024-08-14 23:38:40 +07:00
|
|
|
Status string
|
2024-08-03 20:01:25 +07:00
|
|
|
Discover string
|
|
|
|
|
Offset int
|
|
|
|
|
Limit int
|
|
|
|
|
Radius int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type DiscoverySearchResp struct {
|
|
|
|
|
ExploreRegions []ExploreRegion `json:"exploreRegions"`
|
|
|
|
|
ExploreDestinations []ExploreDestination `json:"exploreDestinations"`
|
|
|
|
|
MustVisit []MustVisit `json:"mustVisit"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ExploreRegion struct {
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ExploreDestination struct {
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
ImageURL string `json:"image_url"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type MustVisit struct {
|
|
|
|
|
SiteID int64 `json:"site_id"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Location string `json:"location"`
|
|
|
|
|
Rating float64 `json:"rating"`
|
|
|
|
|
ReviewCount int `json:"reviewCount"`
|
|
|
|
|
Price float64 `json:"price"`
|
|
|
|
|
ImageURL string `json:"imageUrl"`
|
|
|
|
|
Region string `json:"region"`
|
|
|
|
|
Regency string `json:"regency"`
|
|
|
|
|
}
|
2024-08-04 01:14:59 +07:00
|
|
|
|
|
|
|
|
type DiscoveryGetByIDResp struct {
|
|
|
|
|
}
|