natsio/model/location_request.go

24 lines
462 B
Go

package model
// LocationRequestPayload ...
type LocationRequestPayload struct {
Province int `json:"province"`
District int `json:"district"`
Ward int `json:"ward"`
}
// ProvinceRequestPayload ...
type ProvinceRequestPayload struct {
Codes []int `json:"Codes"`
}
// DistrictRequestPayload ...
type DistrictRequestPayload struct {
Codes []int `json:"Codes"`
}
// WardRequestPayload ...
type WardRequestPayload struct {
Codes []int `json:"Codes"`
}