2024-01-22 08:14:57 +00:00
|
|
|
package adminkindboxreqparam
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.gocasts.ir/ebhomengo/niki/entity"
|
2024-01-23 07:39:58 +00:00
|
|
|
"time"
|
2024-01-22 08:14:57 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type KindBoxReqAcceptRequest struct {
|
2024-01-22 10:43:16 +00:00
|
|
|
ID uint `json:"id"`
|
|
|
|
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"`
|
|
|
|
ReferDate time.Time `json:"refer_date"`
|
|
|
|
AddressID uint `json:"address_id"`
|
|
|
|
|
|
|
|
KindBoxID uint `json:"kind_box_id"`
|
|
|
|
KindBoxType entity.KindBoxType `json:"kind_box_type"`
|
|
|
|
BenefactorID uint `json:"benefactor_id"`
|
|
|
|
KindBoxStatus entity.KindBoxStatus `json:"kind_box_status"`
|
|
|
|
KindBoxSerialNumber string `json:"kind_box_serial_number"`
|
2024-01-22 08:14:57 +00:00
|
|
|
}
|