deliveyr order
This commit is contained in:
@@ -81,3 +81,20 @@ func (v *Order) TableIndex() [][]string {
|
||||
[]string{"UserID"},
|
||||
}
|
||||
}
|
||||
|
||||
type DeliveryOrder struct {
|
||||
ModelIDCUL
|
||||
|
||||
VendorWaybillID string `orm:"column(vendor_waybill_id)" json:"vendorWaybillID"` //运单号
|
||||
UserID string `orm:"column(user_id);size(48)" json:"userID"` //用户ID
|
||||
DeliverySendID int `orm:"column(delivery_send_id)" json:"deliverySendID"` //寄件人地址ID
|
||||
DeliveryReceiveID int `orm:"cloumn(delivery_receive_id)" json:"deliveryReceiveID"` //取件人地址ID(收货人)
|
||||
Status int `json:"status"` //运单状态
|
||||
PayPrice int `json:"payPrice"` //支付金额
|
||||
OrderFinishedAt time.Time `json:"orderFinishedAt"` //订单完成时间
|
||||
Weight float64 `json:"weight"` //订单重量,单位kg
|
||||
Vloumn float64 `json:"vloumn"` //订单体积,单位立方cm
|
||||
Description string `json:"description"` //订单商品描述
|
||||
PickUpStartTime time.Time `json:"pickUpStartTime"` //预约取件开始时间
|
||||
PickUpEndTime time.Time `json:"pickUpEndTime"` //预约取件结束时间
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user