Merge pull request #11 from Selly-Modules/get-location-warehouse

add field code
This commit is contained in:
anbuiselly 2022-08-29 17:55:49 +07:00 committed by GitHub
commit 61ae0b325c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"`
}