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.
 
 
 

34 lines
868 B

using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Admin.Commons.Entitys;
namespace Znyc.Admin.Security.Entitys
{
/// <summary>
/// 角色的数据权限,数据实体对象
/// </summary>
[Table("sys_role_data")]
public class RoleData : BaseEntity
{
/// <summary>
/// 默认构造函数(需要初始化属性的在此处理)
/// </summary>
public RoleData()
{
}
/// <summary>
/// 角色ID
/// </summary>
public long RoleId { get; set; }
/// <summary>
/// 类型,company-公司,dept-部门,person-个人
/// </summary>
public string DType { get; set; }
/// <summary>
/// 数据数据,部门ID或个人ID
/// </summary>
public string AuthorizeData { get; set; }
}
}