package model import "time" // SystemConfig 系统配置表(key-value 存储) type SystemConfig struct { ID uint `gorm:"primaryKey" json:"id"` Key string `gorm:"size:64;uniqueIndex;not null" json:"key"` Value string `gorm:"size:1024" json:"value"` Label string `gorm:"size:128" json:"label"` // 显示名称 Description string `gorm:"size:512" json:"description"` // 参数说明 Category string `gorm:"size:32;index" json:"category"` // 分类:basic/geetest/sms/wechat/storage Placeholder string `gorm:"size:256" json:"placeholder"` // 输入框示例 DocLink string `gorm:"size:256" json:"doc_link"` // 官方文档/获取地址 Sort int `gorm:"default:0" json:"sort"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }