You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
913 B
28 lines
913 B
package model
|
|
|
|
import "bkb-seller/global"
|
|
|
|
type BatchDeliver struct {
|
|
global.MG_MODEL
|
|
UserID string `gorm:"size:50;index" json:"userID"` //用户id
|
|
OrderID string `gorm:"size:50" json:"orderID"` //订单号
|
|
CourierNumber string `gorm:"size:50" json:"courierNumber"` //快递单号
|
|
Courier string `gorm:"size:50" json:"courier"` //快递公司
|
|
CourierLink string `gorm:"size:255" json:"courierLink"` //快递链接
|
|
Status int `gorm:"type:tinyint(1)" json:"status"` //状态 1-发货成功 2-发货失败
|
|
Remark string `gorm:"size:50" json:"remark"` //备注
|
|
}
|
|
|
|
type BatchDeliverList struct {
|
|
BatchDeliver
|
|
}
|
|
|
|
type BatchDeliverTotal struct {
|
|
Total int `json:"total"`
|
|
Status1 int `json:"status1"` //发货成功数量
|
|
Status2 int `json:"status2"` //发货失败数量
|
|
}
|
|
|
|
func (BatchDeliver) TableName() string {
|
|
return "batch_deliver"
|
|
}
|
|
|