refactor-location #134

Closed
trunglam wants to merge 270 commits from refactor-location into master
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 1a77ac3d8e - Show all commits

View File

@ -51,6 +51,7 @@ type (
// LocationProvinceDetailResponse ... // LocationProvinceDetailResponse ...
LocationProvinceDetailResponse struct { LocationProvinceDetailResponse struct {
ID string `json:"_id"`
Name string `json:"name"` Name string `json:"name"`
Slug string `json:"slug"` Slug string `json:"slug"`
Code int `json:"code"` Code int `json:"code"`
@ -63,6 +64,7 @@ type (
// LocationDistrictDetailResponse ... // LocationDistrictDetailResponse ...
LocationDistrictDetailResponse struct { LocationDistrictDetailResponse struct {
ID string `json:"_id"`
Name string `json:"name"` Name string `json:"name"`
OldSlugs []string `json:"oldSlugs"` OldSlugs []string `json:"oldSlugs"`
Slug string `json:"slug"` Slug string `json:"slug"`
@ -74,6 +76,7 @@ type (
// LocationWardDetailResponse ... // LocationWardDetailResponse ...
LocationWardDetailResponse struct { LocationWardDetailResponse struct {
ID string `json:"_id"`
Name string `json:"name"` Name string `json:"name"`
OldSlugs []string `json:"oldSlugs"` OldSlugs []string `json:"oldSlugs"`
Slug string `json:"slug"` Slug string `json:"slug"`