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