refactor-location #134

Closed
trunglam wants to merge 270 commits from refactor-location into master
1 changed files with 12 additions and 9 deletions
Showing only changes of commit 29b2b861ff - Show all commits

View File

@ -15,8 +15,9 @@ type (
// ProvinceRequestCondition ... // ProvinceRequestCondition ...
ProvinceRequestCondition struct { ProvinceRequestCondition struct {
Code int `json:"code"` Code int `json:"code"`
Codes []int `json:"codes"` Codes []int `json:"codes"`
Slug string `json:"slug"`
} }
// DistrictRequestPayload ... // DistrictRequestPayload ...
@ -26,9 +27,10 @@ type (
// DistrictRequestCondition ... // DistrictRequestCondition ...
DistrictRequestCondition struct { DistrictRequestCondition struct {
Code int `json:"code"` Code int `json:"code"`
Codes []int `json:"codes"` Codes []int `json:"codes"`
ProvinceCode int `json:"provinceCode"` ProvinceCode int `json:"provinceCode"`
Slug string `json:"slug"`
} }
// WardRequestPayload ... // WardRequestPayload ...
@ -38,9 +40,10 @@ type (
// WardRequestCondition ... // WardRequestCondition ...
WardRequestCondition struct { WardRequestCondition struct {
Code int `json:"code"` Code int `json:"code"`
Codes []int `json:"codes"` Codes []int `json:"codes"`
DistrictCode int `json:"districtCode"` DistrictCode int `json:"districtCode"`
ProvinceCode int `json:"provinceCode"` ProvinceCode int `json:"provinceCode"`
Slug string `json:"slug"`
} }
) )