mergeDev/campaign #73
|
@ -1,7 +1,5 @@
|
|||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type (
|
||||
// ResponseLocationAddress ...
|
||||
ResponseLocationAddress struct {
|
||||
|
@ -53,44 +51,34 @@ type (
|
|||
|
||||
// LocationProvinceDetailResponse ...
|
||||
LocationProvinceDetailResponse struct {
|
||||
ID string `json:"_id"`
|
||||
Name string `json:"name"`
|
||||
SearchString string `json:"searchString"`
|
||||
OldSlug string `json:"oldSlug"`
|
||||
Code int `json:"code"`
|
||||
CountryCode string `json:"countryCode"`
|
||||
RegionCode string `json:"regionCode"`
|
||||
MainRegionCode string `json:"mainRegionCode"`
|
||||
TotalDistricts int `json:"totalDistricts"`
|
||||
TotalWards int `json:"totalWards"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Code int `json:"code"`
|
||||
CountryCode string `json:"countryCode"`
|
||||
RegionCode string `json:"regionCode"`
|
||||
MainRegionCode string `json:"mainRegionCode"`
|
||||
TotalDistricts int `json:"totalDistricts"`
|
||||
TotalWards int `json:"totalWards"`
|
||||
}
|
||||
|
||||
// LocationDistrictDetailResponse ...
|
||||
LocationDistrictDetailResponse struct {
|
||||
ID string `json:"_id"`
|
||||
Name string `json:"name"`
|
||||
SearchString string `json:"searchString"`
|
||||
OldSlug string `json:"oldSlug"`
|
||||
Code int `json:"code"`
|
||||
ProvinceCode int `json:"provinceCode"`
|
||||
Area int `json:"area"`
|
||||
TotalWards int `json:"totalWards"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Name string `json:"name"`
|
||||
OldSlugs []string `json:"oldSlugs"`
|
||||
Slug string `json:"slug"`
|
||||
Code int `json:"code"`
|
||||
ProvinceCode int `json:"provinceCode"`
|
||||
Area int `json:"area"`
|
||||
TotalWards int `json:"totalWards"`
|
||||
}
|
||||
|
||||
// LocationWardDetailResponse ...
|
||||
LocationWardDetailResponse struct {
|
||||
ID string `json:"_id"`
|
||||
Name string `json:"name"`
|
||||
SearchString string `json:"searchString"`
|
||||
OldSlugs []string `json:"oldSlugs"`
|
||||
Code int `json:"code"`
|
||||
DistrictCode int `json:"districtCode"`
|
||||
ProvinceCode int `json:"provinceCode"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Name string `json:"name"`
|
||||
OldSlugs []string `json:"oldSlugs"`
|
||||
Slug string `json:"slug"`
|
||||
Code int `json:"code"`
|
||||
DistrictCode int `json:"districtCode"`
|
||||
ProvinceCode int `json:"provinceCode"`
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue