niki/param/benefactor/kind_box_req/update.go

22 lines
753 B
Go
Raw Normal View History

package benefactorkindboxreqparam
2023-12-25 17:08:19 +00:00
import (
entity "git.gocasts.ir/ebhomengo/niki/entity"
)
2023-12-25 17:08:19 +00:00
type KindBoxReqUpdateRequest struct {
KindBoxReqID uint `json:"-"`
BenefactorID uint `json:"-"`
KindBoxType entity.KindBoxType `json:"kind_box_type" example:"1"`
CountRequested uint `json:"count_requested" example:"2"`
Description string `json:"description" example:"this is a description for..."`
DeliverReferDate string `json:"deliver_refer_date" example:"2025-01-02 15:04:05"`
DeliverReferTimeID uint `json:"deliver_refer_time_id" example:"1"`
DeliverAddressID uint `json:"deliver_address_id" example:"2"`
2023-12-25 17:08:19 +00:00
}
type KindBoxReqUpdateResponse struct {
KindBoxReq entity.KindBoxReq `json:"kind_box_req"`
2023-12-25 17:08:19 +00:00
}