Пример #1
0
 /// <summary>
 /// 初始化对象标识值
 /// </summary>
 public override void InitIdentityValue()
 {
     Id = SysManager.GetId(SysModuleObject.Permission);
 }
Пример #2
0
 /// <summary>
 /// 生成角色编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateAuthorityGroupId()
 {
     return(SysManager.GetId(SysModuleObject.AuthorityGroup));
 }
Пример #3
0
 /// <summary>
 /// 生成操作分组对象编号
 /// </summary>
 /// <returns>返回操作分组编号</returns>
 public static long GenerateOperationGroupId()
 {
     return(SysManager.GetId(SysModuleObject.OperationGroup));
 }
Пример #4
0
 /// <summary>
 /// 生成用户编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateUserId()
 {
     return(SysManager.GetId(SysModuleObject.User));
 }
Пример #5
0
 /// <summary>
 /// 生成角色编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateRoleId()
 {
     return(SysManager.GetId(SysModuleObject.Role));
 }
Пример #6
0
 /// <summary>
 /// 生成一个操作编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateAuthorityOperationId()
 {
     return(SysManager.GetId(SysModuleObject.AuthorityOperation));
 }
Пример #7
0
 /// <summary>
 /// 初始化对象标识值
 /// </summary>
 public override void InitIdentityValue()
 {
     SysNo = SysManager.GetId(SysModuleObject.Authority);
 }