|
|
@ -32,7 +32,7 @@ type Order struct {
|
|
|
|
Coupon uint64 //优惠券
|
|
|
|
Coupon uint64 //优惠券
|
|
|
|
Status OrderStatus `json:"status"` // 订单状态
|
|
|
|
Status OrderStatus `json:"status"` // 订单状态
|
|
|
|
Description string `json:"description"` // 商品描述
|
|
|
|
Description string `json:"description"` // 商品描述
|
|
|
|
CreatedAt time.Time `xorm:"creaed" ` // 创建时间
|
|
|
|
CreatedAt time.Time `xorm:"created" ` // 创建时间
|
|
|
|
UpdatedAt time.Time `xorm:"updated" ` // 更新时间
|
|
|
|
UpdatedAt time.Time `xorm:"updated" ` // 更新时间
|
|
|
|
DeletedAt *time.Time `xorm:"deleted"` // 删除时间
|
|
|
|
DeletedAt *time.Time `xorm:"deleted"` // 删除时间
|
|
|
|
}
|
|
|
|
}
|
|
|
|