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

20 lines
395 B
Go

package addressparam
import "git.gocasts.ir/ebhomengo/niki/entity"
type GetAddressByIDRequest struct {
ID uint
}
type GetAddressByIDResponse struct {
Address entity.Address
}
type GetAddressRequest struct {
BenefactorID uint
AddressID uint
}
type GetAddressResponse struct {
Data Data `json:"data"`
FieldErrors map[string]string `json:"field_errors,omitempty"`
}