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.
43 lines
1.2 KiB
43 lines
1.2 KiB
2 years ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using Znyc.Recruitment.Admin.Commons.Entitys;
|
||
|
|
||
|
namespace Znyc.Recruitment.Admin.Security.Entitys
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 角色授权表,数据实体对象
|
||
|
/// </summary>
|
||
|
[Table("sys_role_authorize")]
|
||
|
[Serializable]
|
||
|
public class RoleAuthorizeEntity : BaseEntity
|
||
|
{
|
||
|
#region Property Members
|
||
|
|
||
|
/// <summary>
|
||
|
/// 项目类型功能标识 0-子系统 1-标识菜单/模块,2标识按钮功能
|
||
|
/// </summary>
|
||
|
public virtual long? ItemType { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 项目主键
|
||
|
/// </summary>
|
||
|
public virtual long ItemId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 对象分类/类型1-角色,2-部门,3-用户
|
||
|
/// </summary>
|
||
|
public virtual long? ObjectType { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 对象主键,对象分类/类型为角色时就是角色ID,部门就是部门ID,用户就是用户ID
|
||
|
/// </summary>
|
||
|
public virtual long ObjectId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 排序码
|
||
|
/// </summary>
|
||
|
public virtual long? SortCode { get; set; }
|
||
|
|
||
|
#endregion Property Members
|
||
|
}
|
||
|
}
|