2023-12-25 17:08:19 +00:00
|
|
|
package adminkindboxreqparam
|
2023-12-20 08:27:13 +00:00
|
|
|
|
2023-12-25 17:08:19 +00:00
|
|
|
import entity "git.gocasts.ir/ebhomengo/niki/entity"
|
2023-12-20 08:27:13 +00:00
|
|
|
|
|
|
|
type KindBoxReqAddRequest struct {
|
2024-06-14 08:41:36 +00:00
|
|
|
BenefactorID uint `json:"benefactor_id" example:"1"`
|
2024-08-01 10:20:18 +00:00
|
|
|
KindBoxType entity.KindBoxType `json:"kind_box_type" example:"on-table"`
|
2024-06-14 08:41:36 +00:00
|
|
|
DeliverAddressID uint `json:"deliver_address_id" example:"1"`
|
|
|
|
DeliverReferDate string `json:"deliver_refer_date" example:"2025-01-02 15:04:05"`
|
|
|
|
CountRequested uint `json:"count_requested" example:"2"`
|
2023-12-20 08:27:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type KindBoxReqAddResponse struct {
|
2024-09-10 20:55:19 +00:00
|
|
|
Data Data `json:"data"`
|
2024-08-01 10:20:18 +00:00
|
|
|
FieldErrors map[string]string `json:"field_errors,omitempty"`
|
2023-12-20 08:27:13 +00:00
|
|
|
}
|