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 {
ID string `json:"id"`
Name string `json:"name"`
Code string `json:"code"`
}
// LocationDistrict ...
type LocationDistrict struct {
ID string `json:"id"`
Name string `json:"name"`
Code string `json:"code"`
}
// LocationWard ...
type LocationWard struct {
ID string `json:"id"`
Name string `json:"name"`
Code string `json:"code"`
}