[location] update location resp model
This commit is contained in:
parent
be18b81589
commit
1a77ac3d8e
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue