delivey order

This commit is contained in:
苏尹岚
2020-10-23 15:38:16 +08:00
parent e211997a61
commit 506a9a8764
2 changed files with 15 additions and 0 deletions

View File

@@ -97,4 +97,18 @@ type DeliveryOrder struct {
Description string `json:"description"` //订单商品描述
PickUpStartTime time.Time `json:"pickUpStartTime"` //预约取件开始时间
PickUpEndTime time.Time `json:"pickUpEndTime"` //预约取件结束时间
PackageCount int `json:"packageCount"` //包裹数
}
func (v *DeliveryOrder) TableUnique() [][]string {
return [][]string{
[]string{"VendorWaybillID"},
}
}
func (v *DeliveryOrder) TableIndex() [][]string {
return [][]string{
[]string{"CreatedAt"},
[]string{"UserID"},
}
}