| 12345678910111213 |
- package model
- import "time"
- type ManagedSetting struct {
- ID uint `gorm:"primaryKey;autoIncrement" json:"id"`
- KeyName string `gorm:"uniqueIndex;column:key_name;size:255;not null" json:"key_name"`
- Value string `gorm:"type:text;not null" json:"value"`
- ValueType string `gorm:"type:enum('int','float','bool','string','json');not null" json:"value_type"`
- EffectLevel string `gorm:"type:enum('runtime','new_task');default:'runtime'" json:"effect_level"`
- Description string `gorm:"size:500" json:"description"`
- UpdatedAt time.Time `json:"updated_at"`
- }
|