lckt-server/model/vip/vip.go
2025-05-09 11:49:44 +08:00

17 lines
600 B
Go

package vip
import "git.echol.cn/loser/lckt/global"
type Vip struct {
global.GVA_MODEL
Name string `json:"name" form:"name" gorm:"comment:会员名称"` // 会员名称
Level int `json:"level" form:"level" gorm:"comment:会员等级 1 Vip 2 Svip"` // 会员等级
Price float64 `json:"price" form:"price" gorm:"comment:会员价格"` // 会员价格
Expiration int64 `json:"expiration" form:"expiration" gorm:"comment:会员有效期"` // 会员过期时间
}
// TableName 设置表名
func (Vip) TableName() string {
return "lckt_vip"
}