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.

12 lines
841 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package models
type TBaseRole struct {
RoleId string `xorm:"not null pk comment('角色ID') CHAR(36)"`
RoleName string `xorm:"not null default '''' comment('角色名称') VARCHAR(100)"`
RoleCode string `xorm:"not null default '''' comment('角色编码') VARCHAR(100)"`
RoleLevel int32 `xorm:"not null default -1 comment('角色级别 1超级管理员 2省级教育局 3市级教育局 4区(县)级教育局 5省级教辅单位 6市级教辅单位 7区(县)级教辅单位 8校级 9大学区') INT(11)"`
IdentityId int32 `xorm:"not null default 1 comment('身份ID对应表t_sys_identity') INT(11)"`
BUse int32 `xorm:"not null default 1 comment('是否启用 0未启用 1启用') TINYINT(1)"`
SortId int32 `xorm:"not null default 1 comment('排序号') INT(11)"`
}