add field code

This commit is contained in:
phuanbui 2022-08-29 17:54:50 +07:00
parent 8dcc6504b9
commit 05103803ff
1 changed files with 3 additions and 0 deletions

View File

@ -10,16 +10,19 @@ type ResponseLocationAddress struct {
type LocationProvince struct { type LocationProvince struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"`
} }
// LocationDistrict ... // LocationDistrict ...
type LocationDistrict struct { type LocationDistrict struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"`
} }
// LocationWard ... // LocationWard ...
type LocationWard struct { type LocationWard struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"`
} }