Add Customer Discovery
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package response
|
||||
|
||||
type ExploreResponse struct {
|
||||
ExploreRegions []Region `json:"exploreRegions"`
|
||||
ExploreDestinations []Destination `json:"exploreDestinations"`
|
||||
MustVisit []MustVisit `json:"mustVisit"`
|
||||
}
|
||||
|
||||
type CurrentLocation struct {
|
||||
City string `json:"city"`
|
||||
}
|
||||
|
||||
type Region struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type Destination struct {
|
||||
Name string `json:"name"`
|
||||
ImageURL string `json:"image_url"`
|
||||
}
|
||||
|
||||
type MustVisit struct {
|
||||
SiteID int64 `json:"site_id"`
|
||||
Name string `json:"name"`
|
||||
Region string `json:"region"`
|
||||
Rating float64 `json:"rating"`
|
||||
ReviewCount int `json:"reviewCount"`
|
||||
Price float64 `json:"price"`
|
||||
ImageURL string `json:"imageUrl"`
|
||||
Regency string `json:"regency"`
|
||||
}
|
||||
|
||||
type SearchResponse struct {
|
||||
Offset int `json:"offset"`
|
||||
Total int `json:"total"`
|
||||
Limit int `json:"limit"`
|
||||
Data []SiteSeach `json:"data"`
|
||||
}
|
||||
|
||||
type SiteSeach struct {
|
||||
SiteID int64 `json:"site_id"`
|
||||
Name string `json:"name"`
|
||||
Region string `json:"region"`
|
||||
Rating float64 `json:"rating"`
|
||||
ReviewCount int `json:"reviewCount"`
|
||||
Price float64 `json:"price"`
|
||||
ImageURL string `json:"imageUrl"`
|
||||
Regency string `json:"regency"`
|
||||
}
|
||||
Reference in New Issue
Block a user