using System.ComponentModel.DataAnnotations.Schema; using Znyc.Admin.Commons.Entitys; namespace Znyc.Admin.Security.Entitys { /// /// 角色表,数据实体对象 /// [Table("sys_role")] public class Role : BaseEntity { /// /// 默认构造函数(需要初始化属性的在此处理) /// public Role() { } /// /// 组织主键 /// public long OrganizeId { get; set; } /// /// 角色编码 /// public string EnCode { get; set; } /// /// 名称 /// public string FullName { get; set; } /// /// 类型 /// public string Type { get; set; } /// /// 排序码 /// public long SortCode { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// 有效标志 /// public bool IsEnabled { get; set; } } }