forked from ebhomengo/niki
18 lines
585 B
Go
18 lines
585 B
Go
package addressparam
|
|
|
|
import "git.gocasts.ir/ebhomengo/niki/entity"
|
|
|
|
type BenefactorAddAddressRequest struct {
|
|
PostalCode string `json:"postal_code" example:"1234567890"`
|
|
Address string `json:"address" example:"tehran"`
|
|
Lat float64 `json:"lat" example:"22.23"`
|
|
Lon float64 `json:"lon" example:"22.22"`
|
|
CityID uint `json:"city_id" example:"1"`
|
|
ProvinceID uint `json:"province_id" example:"1"`
|
|
BenefactorID uint `json:"benefactor_id" example:"1"`
|
|
}
|
|
|
|
type BenefactorAddAddressResponse struct {
|
|
Address entity.Address `json:"address"`
|
|
}
|