natsio/model/location_request.go

24 lines
462 B
Go
Raw Normal View History

2022-08-26 10:15:49 +00:00
package model
// LocationRequestPayload ...
type LocationRequestPayload struct {
Province int `json:"province"`
District int `json:"district"`
Ward int `json:"ward"`
}
2022-09-07 07:01:29 +00:00
// ProvinceRequestPayload ...
type ProvinceRequestPayload struct {
2022-09-07 07:10:23 +00:00
Codes []int `json:"codes"`
2022-09-07 07:01:29 +00:00
}
// DistrictRequestPayload ...
type DistrictRequestPayload struct {
2022-09-07 07:10:23 +00:00
Codes []int `json:"codes"`
2022-09-07 07:01:29 +00:00
}
// WardRequestPayload ...
type WardRequestPayload struct {
2022-09-07 07:10:23 +00:00
Codes []int `json:"codes"`
2022-09-07 07:01:29 +00:00
}