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 {
Codes []int `json:"Codes"`
}
// DistrictRequestPayload ...
type DistrictRequestPayload struct {
Codes []int `json:"Codes"`
}
// WardRequestPayload ...
type WardRequestPayload struct {
Codes []int `json:"Codes"`
}