Files
shanghaigangxiangtuzhuangMES/ZR.Model/System/SysDictType.cs

44 lines
1.3 KiB
C#
Raw Normal View History

2022-12-08 16:53:47 +08:00
using SqlSugar;
2021-08-23 16:57:25 +08:00
namespace ZR.Model.System
{
/// <summary>
/// 字典类型表
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarTable("sys_dict_type", "字典类型表")]
[SugarIndex("index_dict_type", nameof(DictType), OrderByType.Asc, true)]
2021-11-27 09:43:04 +08:00
[Tenant("0")]
2021-08-23 16:57:25 +08:00
public class SysDictType : SysBase
{
/// <summary>
/// 字典主键
/// </summary>
2022-09-16 08:20:09 +08:00
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
2021-08-23 16:57:25 +08:00
public long DictId { get; set; }
/// <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 DictName { get; set; }
/// <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; }
/// <summary>
/// 状态 0、正常 1、停用
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 1, DefaultValue = "0")]
2021-08-23 16:57:25 +08:00
public string Status { get; set; }
/// <summary>
/// 系统内置 Y是 N否
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 1, DefaultValue = "N")]
public string Type { get; set; }
2022-09-16 08:20:09 +08:00
/// <summary>
/// 自定义sql
/// </summary>
public string CustomSql { get; set; }
2021-08-23 16:57:25 +08:00
}
}