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