SysDictItem.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. namespace Model
  2. {
  3. /// <summary>
  4. /// 字典项 sys_dict_item
  5. /// </summary>
  6. [SugarTable("sys_dict_item", "字典项")]
  7. [Tenant("0")]
  8. public class SysDictItem
  9. {
  10. /// <summary>
  11. /// 编号
  12. /// </summary>
  13. [SugarColumn(ColumnDescription = "编号", ColumnName = "id")]
  14. public long Id { get; set; }
  15. /// <summary>
  16. /// 字典ID
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "字典ID", ColumnName = "dict_id")]
  19. public long DictId { get; set; }
  20. /// <summary>
  21. /// 字典项值
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "字典项值", Length = 100, ColumnName = "item_value")]
  24. public string ItemValue { get; set; }
  25. /// <summary>
  26. /// 字典项名称
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "字典项名称", Length = 100, ColumnName = "label")]
  29. public string Label { get; set; }
  30. /// <summary>
  31. /// 字典类型
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "字典类型", Length = 100, ColumnName = "dict_type")]
  34. public string DictType { get; set; }
  35. /// <summary>
  36. /// 字典项描述
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "字典项描述", Length = 100, ColumnName = "description")]
  39. public string Description { get; set; }
  40. /// <summary>
  41. /// 排序(升序)
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "排序(升序)", ColumnName = "sort_order")]
  44. public int SortOrder { get; set; }
  45. /// <summary>
  46. /// 创建人
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "创建人", Length = 64, ColumnName = "create_by")]
  49. public string CreateBy { get; set; }
  50. /// <summary>
  51. /// 修改人
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "修改人", Length = 64, ColumnName = "update_by")]
  54. public string UpdateBy { get; set; }
  55. /// <summary>
  56. /// 创建时间
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")]
  59. public DateTime? CreateTime { get; set; }
  60. /// <summary>
  61. /// 更新时间
  62. /// </summary>
  63. [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")]
  64. public DateTime? UpdateTime { get; set; }
  65. /// <summary>
  66. /// 备注信息
  67. /// </summary>
  68. [SugarColumn(ColumnDescription = "备注信息", Length = 255, ColumnName = "remarks")]
  69. public string Remarks { get; set; }
  70. /// <summary>
  71. /// 删除标志
  72. /// </summary>
  73. [SugarColumn(ColumnDescription = "删除标志", Length = 1, ColumnName = "del_flag")]
  74. public string DelFlag { get; set; }
  75. }
  76. }