[location] create RequestCondition

This commit is contained in:
quang1472001 2022-10-27 11:11:45 +07:00
parent 96bc454514
commit 86cfda6dce
1 changed files with 16 additions and 0 deletions

View File

@ -26,3 +26,19 @@ type ClickAction struct {
Type string `json:"type"` Type string `json:"type"`
Value string `json:"value"` Value string `json:"value"`
} }
// RequestCondition ...
type RequestCondition struct {
Code int `json:"code"`
Codes []int `json:"codes"`
DistrictCode int `json:"districtCode"`
ProvinceCode int `json:"provinceCode"`
Slug string `json:"slug"`
Slugs []string `json:"slugs"`
DistrictSlug string `json:"districtSlug"`
ProvinceSlug string `json:"provinceSlug"`
Keyword string `json:"keyword"`
Region string `json:"region"`
}