13 lines
539 B
Go
13 lines
539 B
Go
package plant
|
|
|
|
import "sundynix-go/global"
|
|
|
|
// LevelConfig 等级配置
|
|
type LevelConfig struct {
|
|
global.BaseModel
|
|
Level int `json:"level" gorm:"column:level"` // 等级数值
|
|
Title string `json:"title" gorm:"column:title"` // 等级称号 (e.g., "萌芽园丁")
|
|
MinSunlight int64 `json:"minSunlight" gorm:"column:min_sunlight"` // 达到该等级所需的最小阳光值
|
|
Perks string `json:"perks" gorm:"column:perks"` // 解锁权益描述 (e.g., "解锁智能诊断")
|
|
}
|