2024-01-16 16:13:06 +00:00
|
|
|
package addressparam
|
|
|
|
|
|
|
|
import "git.gocasts.ir/ebhomengo/niki/entity"
|
|
|
|
|
|
|
|
type BenefactorAddAddressRequest struct {
|
|
|
|
PostalCode string `json:"postal_code"`
|
|
|
|
Address string `json:"address"`
|
2024-03-14 13:38:42 +00:00
|
|
|
Lat float64 `json:"lat"`
|
|
|
|
Lon float64 `json:"lon"`
|
2024-01-16 16:13:06 +00:00
|
|
|
CityID uint `json:"city_id"`
|
|
|
|
ProvinceID uint `json:"province_id"`
|
|
|
|
BenefactorID uint `json:"benefactor_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type BenefactorAddAddressResponse struct {
|
|
|
|
Address entity.Address `json:"address"`
|
|
|
|
}
|