SysDict.cs 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using Mapster;
  2. namespace Model
  3. {
  4. /// <summary>
  5. /// 字典表 sys_dict
  6. /// </summary>
  7. [SugarTable("sys_dict", "字典表")]
  8. [Tenant("0")]
  9. public class SysDict
  10. {
  11. /// <summary>
  12. /// 编号
  13. /// </summary>
  14. [SugarColumn(ColumnDescription = "编号", IsPrimaryKey = true, ColumnName = "id")]
  15. public long id { get; set; }
  16. /// <summary>
  17. /// 字典类型
  18. /// </summary>
  19. [SugarColumn(ColumnDescription = "字典类型", Length = 100, ColumnName = "dict_type")]
  20. public string dictType { get; set; }
  21. /// <summary>
  22. /// 描述
  23. /// </summary>
  24. [SugarColumn(ColumnDescription = "描述", Length = 100, ColumnName = "description")]
  25. public string description { get; set; }
  26. /// <summary>
  27. /// 创建人
  28. /// </summary>
  29. [SugarColumn(ColumnDescription = "创建人", Length = 64, ColumnName = "create_by")]
  30. public string createBy { get; set; }
  31. /// <summary>
  32. /// 修改人
  33. /// </summary>
  34. [SugarColumn(ColumnDescription = "修改人", Length = 64, ColumnName = "update_by")]
  35. public string updateBy { get; set; }
  36. /// <summary>
  37. /// 创建时间
  38. /// </summary>
  39. [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")]
  40. public DateTime? createTime { get; set; }
  41. /// <summary>
  42. /// 更新时间
  43. /// </summary>
  44. [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")]
  45. public DateTime? updateTime { get; set; }
  46. /// <summary>
  47. /// 备注信息
  48. /// </summary>
  49. [SugarColumn(ColumnDescription = "备注信息", Length = 255, ColumnName = "remarks")]
  50. public string remarks { get; set; }
  51. /// <summary>
  52. /// 系统标志
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "系统标志", Length = 1, ColumnName = "system_flag")]
  55. public string systemFlag { get; set; }
  56. /// <summary>
  57. /// 删除标志
  58. /// </summary>
  59. [SugarColumn(ColumnDescription = "删除标志", Length = 1, ColumnName = "del_flag")]
  60. public string delFlag { get; set; }
  61. }
  62. }