forked from ebhomengo/niki
1
0
Fork 0
niki/param/benefactor/address/add.go

18 lines
557 B
Go
Raw Normal View History

package addressparam
import "git.gocasts.ir/ebhomengo/niki/entity"
type BenefactorAddAddressRequest struct {
2024-05-14 13:07:09 +00:00
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"`
BenefactorID uint `json:"-"`
Name string `json:"name" example:"home"`
}
type BenefactorAddAddressResponse struct {
Address entity.Address `json:"address"`
}