using System.ComponentModel.DataAnnotations.Schema; using Znyc.Recruitment.Admin.Commons.Entitys; namespace Znyc.Recruitment.Admin.Security.Entitys { /// /// 角色的数据权限,数据实体对象 /// [Table("sys_role_data")] public class RoleDataEntity : BaseEntity { /// /// 角色ID /// public long RoleId { get; set; } /// /// 类型,company-公司,dept-部门,person-个人 /// public string DType { get; set; } /// /// 数据数据,部门ID或个人ID /// public string AuthorizeData { get; set; } } }