From 1a77ac3d8e2093dbfb6761ba3a024f520d86c2b1 Mon Sep 17 00:00:00 2001 From: thaingocquang Date: Mon, 21 Nov 2022 00:29:18 +0700 Subject: [PATCH] [location] update location resp model --- model/location_response.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/location_response.go b/model/location_response.go index 3352a8f..e48bdce 100644 --- a/model/location_response.go +++ b/model/location_response.go @@ -51,6 +51,7 @@ type ( // LocationProvinceDetailResponse ... LocationProvinceDetailResponse struct { + ID string `json:"_id"` Name string `json:"name"` Slug string `json:"slug"` Code int `json:"code"` @@ -63,6 +64,7 @@ type ( // LocationDistrictDetailResponse ... LocationDistrictDetailResponse struct { + ID string `json:"_id"` Name string `json:"name"` OldSlugs []string `json:"oldSlugs"` Slug string `json:"slug"` @@ -74,6 +76,7 @@ type ( // LocationWardDetailResponse ... LocationWardDetailResponse struct { + ID string `json:"_id"` Name string `json:"name"` OldSlugs []string `json:"oldSlugs"` Slug string `json:"slug"`