package Model type TBaseRole struct { RoleId int `xorm:"not null pk autoincr INT(11)"` RoleName string `xorm:"default 'NULL' comment('角色名称') VARCHAR(100)"` BUse int `xorm:"default NULL comment('是否启用 0:未启用 1:启用') INT(11)"` }