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.

56 lines
1.3 KiB

using System;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Admin.Commons.Entitys;
namespace Znyc.Admin.Security.Entitys
{
/// <summary>
/// 数据字典选项主表,数据实体对象
/// </summary>
[Table("dc_dictionary")]
[Serializable]
public class Dictionary : BaseEntity
{
/// <summary>
/// 默认构造函数(需要初始化属性的在此处理)
/// </summary>
public Dictionary()
{
}
/// <summary>
/// 字典父级
/// </summary>
public long ParentId { get; set; }
/// <summary>
/// 字典编码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 字典值
/// </summary>
public string Value { get; set; }
/// <summary>
/// 描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 字典名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool IsEnabled { get; set; } = true;
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
}
}