feat: 互动处理
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package radio
|
||||
|
||||
import (
|
||||
"sundynix-go/global"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Vip struct {
|
||||
global.BaseModel
|
||||
Price int `gorm:"default:0;comment:价格,单位,分 " json:"price"` //vip价格 单位:分
|
||||
DiscountedPrice int `gorm:"default:0;comment:优惠价格,单位,分 " json:"discountedPrice"` // 优惠价格 单位:分
|
||||
ExpiredAt time.Time `gorm:"index;column:expired_at" json:"expiredAt"` //过期时间
|
||||
Remark string `gorm:"column:remark" json:"remark"` //备注
|
||||
}
|
||||
|
||||
func (Vip) TableName() string {
|
||||
return "sundynix_radio_vip_config"
|
||||
}
|
||||
Reference in New Issue
Block a user