package models type BotAuthRole struct { CreateTime int64 `xorm:"comment('创建时间') BIGINT"` Id int `xorm:"not null pk autoincr INT"` Name string `xorm:"default '' comment('组名') VARCHAR(100)"` Remark string `xorm:"comment('备注') VARCHAR(255)"` Rules string `xorm:"comment('规则ID') TEXT"` Sort int `xorm:"comment('排序') TINYINT"` Status int `xorm:"default 1 comment('状态:1 启用,2 停用') TINYINT"` UpdateTime int64 `xorm:"comment('更新时间') BIGINT"` }