shgx_tz_mom/ZR.Model/System/SysDictData.cs

56 lines
1.8 KiB
C#
Raw Normal View History

2024-06-07 11:04:26 +08:00
namespace ZR.Model.System
2021-08-23 16:57:25 +08:00
{
/// <summary>
/// 字典数据表
/// </summary>
2021-11-27 09:43:04 +08:00
[Tenant("0")]
2023-06-07 22:28:06 +08:00
[SugarTable("sys_dict_data", "字典数据表")]
2023-05-04 18:20:18 +08:00
public class SysDictData : SysBase
2021-08-23 16:57:25 +08:00
{
/// <summary>
2023-05-04 18:20:18 +08:00
/// 字典编码
2021-08-23 16:57:25 +08:00
/// </summary>
2022-09-16 08:20:09 +08:00
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
2023-05-04 18:20:18 +08:00
public long DictCode { get; set; }
/// <summary>
/// 字典排序
/// </summary>
2021-08-23 16:57:25 +08:00
public int DictSort { get; set; }
2023-05-04 18:20:18 +08:00
/// <summary>
/// 字典标签
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)]
2021-08-23 16:57:25 +08:00
public string DictLabel { get; set; }
2023-05-04 18:20:18 +08:00
/// <summary>
/// 字典键值
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)]
2021-08-23 16:57:25 +08:00
public string DictValue { get; set; }
2023-05-04 18:20:18 +08:00
/// <summary>
/// 字典类型
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)]
2021-08-23 16:57:25 +08:00
public string DictType { get; set; }
2023-05-04 18:20:18 +08:00
/// <summary>
/// 样式属性(其他样式扩展)
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100)]
2021-12-23 07:34:49 +08:00
public string CssClass { get; set; } = string.Empty;
2023-05-04 18:20:18 +08:00
/// <summary>
/// 表格回显样式
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100)]
2021-12-23 07:34:49 +08:00
public string ListClass { get; set; } = string.Empty;
2023-05-04 18:20:18 +08:00
/// <summary>
/// 是否默认Y是 N否
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 1, DefaultValue = "N")]
2021-08-23 16:57:25 +08:00
public string IsDefault { get; set; }
2023-05-04 18:20:18 +08:00
/// <summary>
/// 状态0正常 1停用
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 1)]
2021-08-23 16:57:25 +08:00
public string Status { get; set; }
}
}