SysPost.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. namespace Model
  2. {
  3. /// <summary>
  4. /// 岗位信息表 sys_post
  5. /// </summary>
  6. [SugarTable("sys_post", "岗位信息表")]
  7. [Tenant("0")]
  8. public class SysPost
  9. {
  10. /// <summary>
  11. /// 岗位ID
  12. /// </summary>
  13. [SugarColumn(ColumnDescription = "岗位ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "post_id")]
  14. public long postId { get; set; }
  15. /// <summary>
  16. /// 岗位编码
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "岗位编码", Length = 64, ColumnName = "post_code")]
  19. public string? postCode { get; set; }
  20. /// <summary>
  21. /// 岗位名称
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "岗位名称", Length = 50, ColumnName = "post_name")]
  24. public string? postName { get; set; }
  25. /// <summary>
  26. /// 岗位排序
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "岗位排序", ColumnName = "post_sort")]
  29. public int postSort { get; set; }
  30. /// <summary>
  31. /// 岗位描述
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "岗位描述", Length = 500, ColumnName = "remark")]
  34. public string? remark { get; set; }
  35. /// <summary>
  36. /// 是否删除 -1:已删除 0:正常
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "是否删除 -1:已删除 0:正常", Length = 1, ColumnName = "del_flag")]
  39. public string? DelFlag { get; set; }
  40. /// <summary>
  41. /// 创建时间
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")]
  44. public DateTime? CreateTime { 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 = "更新时间", ColumnName = "update_time")]
  54. public DateTime? UpdateTime { get; set; }
  55. /// <summary>
  56. /// 更新人
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "更新人", Length = 64, ColumnName = "update_by")]
  59. public string? UpdateBy { get; set; }
  60. }
  61. }