2023-12-25 17:08:19 +00:00
|
|
|
package adminkindboxreqparam
|
|
|
|
|
2024-07-09 14:45:50 +00:00
|
|
|
import (
|
|
|
|
"time"
|
2023-12-25 17:08:19 +00:00
|
|
|
|
2024-07-09 14:45:50 +00:00
|
|
|
"git.gocasts.ir/ebhomengo/niki/entity"
|
|
|
|
)
|
2023-12-25 17:08:19 +00:00
|
|
|
|
2024-07-09 14:45:50 +00:00
|
|
|
type KindBoxReqUpdateRequest struct {
|
2024-07-10 01:21:03 +00:00
|
|
|
ID uint `json:"-" param:"id" example:"1"`
|
2024-08-01 10:20:18 +00:00
|
|
|
KindBoxType entity.KindBoxType `json:"kind_box_type" example:"cylindrical"`
|
2024-07-10 01:21:03 +00:00
|
|
|
CountRequested uint `json:"count_requested" example:"5"`
|
|
|
|
CountAccepted uint `json:"count_accepted" example:"3"`
|
|
|
|
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"`
|
|
|
|
SenderAgentID uint `json:"sender_agent_id" example:"1"`
|
2023-12-25 17:08:19 +00:00
|
|
|
}
|
2024-08-01 10:20:18 +00:00
|
|
|
|
|
|
|
type KindBoxReqUpdateResponse struct {
|
|
|
|
FieldErrors map[string]string `json:"field_errors,omitempty"`
|
|
|
|
}
|