forked from ebhomengo/niki
23 lines
877 B
Go
23 lines
877 B
Go
package benefactorkindboxreqparam
|
|
|
|
import (
|
|
"time"
|
|
|
|
"git.gocasts.ir/ebhomengo/niki/entity"
|
|
)
|
|
|
|
type KindBoxReqUpdateRequest struct {
|
|
KindBoxReqID uint `json:"-" param:"id" example:"1"`
|
|
BenefactorID uint `json:"-" example:"1"`
|
|
KindBoxType entity.KindBoxType `json:"kind_box_type" example:"cylindrical"`
|
|
CountRequested uint `json:"count_requested" example:"5"`
|
|
Description string `json:"description" example:"description"`
|
|
DeliverReferTimeID uint `json:"deliver_refer_time_id" example:"1"`
|
|
DeliverReferDate time.Time `json:"deliver_refer_date" example:"2025-01-02T15:04:05Z"`
|
|
DeliverAddressID uint `json:"deliver_address_id" example:"1"`
|
|
}
|
|
|
|
type KindBoxReqUpdateResponse struct {
|
|
FieldErrors map[string]string `json:"field_errors,omitempty"`
|
|
}
|