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.

13 lines
535 B

2 months ago
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"`
}