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

20 lines
398 B
Go
Raw Normal View History

package addressparam
import "git.gocasts.ir/ebhomengo/niki/entity"
type GetAddressByIDRequest struct {
ID uint
}
type GetAddressByIDResponse struct {
Address entity.Address
}
2024-06-01 00:29:11 +00:00
type GetAddressRequest struct {
BenefactorID uint
AddressID uint
}
type GetAddressResponse struct {
Address entity.Address `json:"address"`
FieldErrors map[string]string `json:"field_errors,omitempty"`
2024-06-01 00:29:11 +00:00
}