forked from ebhomengo/niki
26 lines
840 B
Go
26 lines
840 B
Go
|
package adminkindboxreqparam
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
|
||
|
"git.gocasts.ir/ebhomengo/niki/entity"
|
||
|
)
|
||
|
|
||
|
type KindBoxReqAcceptRequest struct {
|
||
|
ID uint `json:"id"`
|
||
|
Description string `json:"description"`
|
||
|
CountAccepted uint `json:"count_accepted"`
|
||
|
}
|
||
|
|
||
|
type KindBoxReqAcceptResponse struct {
|
||
|
ID uint `json:"id"`
|
||
|
KindBoxType entity.KindBoxType `json:"kind_box_type"`
|
||
|
CountRequested uint `json:"count_requested"`
|
||
|
CountAccepted uint `json:"count_accepted"`
|
||
|
BenefactorID uint `json:"benefactor_id"`
|
||
|
Status entity.KindBoxReqStatus `json:"status"`
|
||
|
Description string `json:"description"`
|
||
|
ReferDate time.Time `json:"refer_date"`
|
||
|
AddressID uint `json:"address_id"`
|
||
|
}
|