修复(#75): 适配促销数量与永久订阅判定
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -34,6 +34,7 @@ type SubscribePromo struct {
|
||||
Id int64 `gorm:"primaryKey"`
|
||||
SubscribeId int64 `gorm:"type:bigint unsigned;not null;comment:Subscribe ID"`
|
||||
PromoRuleId int64 `gorm:"type:bigint unsigned;not null;comment:Promo Rule ID"`
|
||||
Quantity int64 `gorm:"type:bigint;not null;default:1;comment:Subscribe Quantity"`
|
||||
PromoPrice int64 `gorm:"type:bigint;not null;default:0;comment:Promo Price"`
|
||||
CreatedAt time.Time `gorm:"<-:create;comment:Create Time"`
|
||||
UpdatedAt time.Time `gorm:"comment:Update Time"`
|
||||
|
||||
Reference in New Issue
Block a user