修改了 系统优惠卷详情 ,增加发放记录
This commit is contained in:
@@ -37,6 +37,7 @@ type Coupon struct {
|
||||
IsPopup int `gorm:"column:is_popup;type:tinyint(1);default:0;comment:是否首页弹窗(0:否 1:是)" json:"is_popup"`
|
||||
CouponDesc string `gorm:"column:coupon_desc;type:text;comment:优惠卷描述" json:"coupon_desc"`
|
||||
Model
|
||||
CouponGrant []*CouponGrant `gorm:"foreignKey:CouponId;references:coupon_id" json:"coupon_grant"` // 优惠卷发放记录
|
||||
}
|
||||
|
||||
func (m *Coupon) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user