This commit is contained in:
parent
059b2d30f0
commit
7d9996e9f6
|
|
@ -14,6 +14,7 @@ type ProductBo struct {
|
|||
BatchNo string
|
||||
MchId string
|
||||
MiniMum int32 // 使用券金额门槛
|
||||
Amount int32
|
||||
Channel vo.Channel
|
||||
AvailableType vo.AvailableType
|
||||
AvailableDays uint32
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ type Product struct {
|
|||
Channel uint8 `gorm:"column:channel;not null;comment:1:微信 2:支付宝" json:"channel"` // 1:微信 2:支付宝
|
||||
AvailableType uint8 `gorm:"column:available_type;not null;comment:1:固定有效期 2:动态有效期" json:"available_type"`
|
||||
AvailableDays uint32 `gorm:"column:available_days;not null;comment:领取后多少天内" json:"available_days"`
|
||||
Amount int32 `gorm:"column:amount;not null;comment:面额" json:"amount"`
|
||||
CreateTime *time.Time `gorm:"column:create_time;not null" json:"create_time"`
|
||||
UpdateTime *time.Time `gorm:"column:update_time" json:"update_time"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue