2024-01-02 14:04:16 +00:00
|
|
|
package benefactorkindboxreqparam
|
2023-12-20 08:27:13 +00:00
|
|
|
|
2024-01-16 16:13:06 +00:00
|
|
|
import (
|
2024-05-31 12:36:48 +00:00
|
|
|
"time"
|
2024-07-24 23:45:04 +00:00
|
|
|
|
|
|
|
entity "git.gocasts.ir/ebhomengo/niki/entity"
|
2024-01-16 16:13:06 +00:00
|
|
|
)
|
2023-12-20 08:27:13 +00:00
|
|
|
|
|
|
|
type KindBoxReqAddRequest struct {
|
2024-08-10 17:47:21 +00:00
|
|
|
BenefactorID uint `json:"-"`
|
2024-08-01 10:20:18 +00:00
|
|
|
KindBoxType entity.KindBoxType `json:"kind_box_type" example:"on-table"`
|
2024-05-31 12:36:48 +00:00
|
|
|
DeliverAddressID uint `json:"deliver_address_id" example:"1"`
|
|
|
|
DeliverReferDate time.Time `json:"deliver_refer_date" example:"2025-01-02T15:04:05Z"`
|
|
|
|
DeliverReferTimeID uint `json:"deliver_refer_time_id" example:"1"`
|
|
|
|
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
|
|
|
}
|