2024-01-22 08:14:57 +00:00
|
|
|
package adminkindboxreqparam
|
|
|
|
|
|
|
|
import (
|
2024-01-23 07:39:58 +00:00
|
|
|
"time"
|
2024-01-23 10:21:56 +00:00
|
|
|
|
|
|
|
"git.gocasts.ir/ebhomengo/niki/entity"
|
2024-01-22 08:14:57 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type KindBoxReqAcceptRequest struct {
|
2024-05-20 17:37:44 +00:00
|
|
|
ID uint `json:"-"`
|
2024-01-22 10:43:16 +00:00
|
|
|
CountAccepted uint `json:"count_accepted"`
|
2024-01-22 08:14:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type KindBoxReqAcceptResponse struct {
|
2024-01-23 07:39:58 +00:00
|
|
|
KindBoxReqID uint `json:"kind_box_req_id"`
|
|
|
|
KindBoxReqStatus entity.KindBoxReqStatus `json:"kind_box_req_status"`
|
|
|
|
CountRequested uint `json:"count_requested"`
|
|
|
|
CountAccepted uint `json:"count_accepted"`
|
2024-03-14 13:38:42 +00:00
|
|
|
DeliverReferDate time.Time `json:"deliver_refer_date"`
|
|
|
|
DeliverAddressID uint `json:"deliver_address_id"`
|
2024-08-01 10:20:18 +00:00
|
|
|
FieldErrors map[string]string `json:"field_errors,omitempty"`
|
2024-01-22 08:14:57 +00:00
|
|
|
}
|