forked from ebhomengo/niki
19 lines
329 B
Go
19 lines
329 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 {
|
|
Address entity.Address `json:"address"`
|
|
}
|