SysDictItem.cs 2.9 KB

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