初始化v1
This commit is contained in:
24
internal/model/entity/vip_level.go
Normal file
24
internal/model/entity/vip_level.go
Normal file
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// VipLevel is the golang structure for table nl_vip_level.
|
||||
type VipLevel struct {
|
||||
Id uint `json:"id" orm:"id" description:"VIP等级ID"`
|
||||
Name string `json:"name" orm:"name" description:"VIP等级名称"`
|
||||
Level int `json:"level" orm:"level" description:"等级数值"`
|
||||
Price float64 `json:"price" orm:"price" description:"价格"`
|
||||
Duration int `json:"duration" orm:"duration" description:"有效期(天)"`
|
||||
Description string `json:"description" orm:"description" description:"等级描述"`
|
||||
Privileges string `json:"privileges" orm:"privileges" description:"特权说明(JSON格式)"`
|
||||
Status int `json:"status" orm:"status" description:"状态:0禁用,1启用"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"`
|
||||
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user