...
|
...
|
@@ -31,7 +31,7 @@ type Order struct { |
|
|
//订单已支付金额(货款)
|
|
|
OrderPaymentAmount float64
|
|
|
//最后分红状态
|
|
|
BonusStatus int
|
|
|
BonusStatus int `pg:",default:1"`
|
|
|
//订单区域信息
|
|
|
OrderRegionInfo domain.RegionInfo
|
|
|
|
...
|
...
|
@@ -51,6 +51,7 @@ type Order struct { |
|
|
|
|
|
//上一次查看时间 已读情况
|
|
|
LastViewTime time.Time
|
|
|
//最后分红状态
|
|
|
}
|
|
|
|
|
|
var _ pg.BeforeUpdateHook = (*Order)(nil)
|
...
|
...
|
|