Add Customer Discovery
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package entity
|
||||
|
||||
type DiscoverySearch struct {
|
||||
Lat float64
|
||||
Long float64
|
||||
Name string
|
||||
Region string
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user