From cb45dbb694526c498e0c853fd7ceb21e26ac9cd0 Mon Sep 17 00:00:00 2001 From: quang1472001 Date: Thu, 27 Oct 2022 16:03:11 +0700 Subject: [PATCH] [location] add slug to ResponseLocationAdress --- model/location_response.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model/location_response.go b/model/location_response.go index 1595908..f0b4116 100644 --- a/model/location_response.go +++ b/model/location_response.go @@ -15,6 +15,7 @@ type ( ID string `json:"id"` Name string `json:"name"` Code int `json:"code"` + Slug string `json:"slug"` RegionCode string `json:"regionCode"` MainRegionCode string `json:"mainRegionCode"` } @@ -24,6 +25,7 @@ type ( ID string `json:"id"` Name string `json:"name"` Code int `json:"code"` + Slug string `json:"slug"` } // LocationWard ... @@ -31,6 +33,7 @@ type ( ID string `json:"id"` Name string `json:"name"` Code int `json:"code"` + Slug string `json:"slug"` } // LocationProvinceResponse ... @@ -53,7 +56,6 @@ type ( ID string `json:"_id"` Name string `json:"name"` SearchString string `json:"searchString"` - Slug string `json:"slug"` OldSlug string `json:"oldSlug"` Code int `json:"code"` CountryCode string `json:"countryCode"` @@ -70,7 +72,6 @@ type ( ID string `json:"_id"` Name string `json:"name"` SearchString string `json:"searchString"` - Slug string `json:"slug"` OldSlug string `json:"oldSlug"` Code int `json:"code"` ProvinceCode int `json:"provinceCode"` @@ -85,7 +86,6 @@ type ( ID string `json:"_id"` Name string `json:"name"` SearchString string `json:"searchString"` - Slug string `json:"slug"` OldSlugs []string `json:"oldSlugs"` Code int `json:"code"` DistrictCode int `json:"districtCode"`