62 lines
1.9 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using ZR.Model.System;
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 字典数据表
/// </summary>
[Tenant("0")]
[SugarTable("sys_dict_data", "字典数据表")]
public class SysDictData : SysBase
{
/// <summary>
/// 字典编码
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long DictCode { get; set; }
/// <summary>
/// 字典排序
/// </summary>
public int DictSort { get; set; }
/// <summary>
/// 字典标签
/// </summary>
[SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string DictLabel { get; set; }
/// <summary>
/// 字典键值
/// </summary>
[SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string DictValue { get; set; }
/// <summary>
/// 字典类型
/// </summary>
[SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string DictType { get; set; }
/// <summary>
/// 样式属性(其他样式扩展)
/// </summary>
[SugarColumn(Length = 100)]
public string CssClass { get; set; } = string.Empty;
/// <summary>
/// 表格回显样式
/// </summary>
[SugarColumn(Length = 100)]
public string ListClass { get; set; } = string.Empty;
/// <summary>
/// 是否默认Y是 N否
/// </summary>
[SugarColumn(Length = 1, DefaultValue = "N")]
public string IsDefault { get; set; }
/// <summary>
/// 状态0正常 1停用
/// </summary>
[SugarColumn(Length = 1)]
public string Status { get; set; }
/// <summary>
/// 多语言翻译key值
/// </summary>
public string LangKey { get; set; } = string.Empty;
}
}