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.
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 TBaseRolePerson struct {
Id string ` xorm:"not null pk CHAR(36)" `
RoleId string ` xorm:"not null default '''' comment('角色ID') index(b_use) unique(uniq_role_manager_range) CHAR(36)" `
IdentityId int32 ` xorm:"not null default 0 comment('身份ID') index(identity_id) unique(uniq_role_manager_range) INT(11)" `
PersonId string ` xorm:"not null default '''' comment('人员ID') index index(identity_id) unique(uniq_role_manager_range) CHAR(36)" `
RuleId string ` xorm:"not null default '''' comment('具体管辖是哪个省、市、区或大学区ID, 单位ID') index(b_use) index unique(uniq_role_manager_range) CHAR(36)" `
BUse int32 ` xorm:"not null default 1 comment('是否启用 0: 未启用 1: 启用') index(b_use) TINYINT(1)" `
}