You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
889 B

2 months ago
package models
type BotConfig struct {
Content string `xorm:"comment('变量字典数据') TEXT"`
Extend string `xorm:"default '' comment('扩展属性') VARCHAR(255)"`
Group string `xorm:"default '' comment('分组') VARCHAR(30)"`
Id int `xorm:"not null pk autoincr INT"`
Name string `xorm:"default '' comment('变量名') unique VARCHAR(30)"`
Rule string `xorm:"default '' comment('验证规则') VARCHAR(100)"`
Setting string `xorm:"default '' comment('配置') VARCHAR(255)"`
Tip string `xorm:"default '' comment('变量描述') VARCHAR(100)"`
Title string `xorm:"default '' comment('变量标题') VARCHAR(100)"`
Type string `xorm:"default '' comment('类型:string,text,int,bool,array,datetime,date,file') VARCHAR(30)"`
Value string `xorm:"comment('变量值') TEXT"`
Visible string `xorm:"default '' comment('可见条件') VARCHAR(255)"`
}