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.
 
 
 

54 lines
1.2 KiB

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