sys_post.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. using Business.Model;
  2. using System.ComponentModel;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Bussiness.Model.SystemData
  5. {
  6. /// <summary>
  7. /// 岗位表
  8. /// </summary>
  9. [Description("岗位表")]
  10. public class sys_post: BaseEntity
  11. {
  12. /// <summary>
  13. /// 主键id
  14. /// </summary>
  15. [Key]
  16. [Description("主键id")]
  17. public long post_id { get; set; }
  18. /// <summary>
  19. /// 岗位编码
  20. /// </summary>
  21. [StringLength(50)]
  22. [Description("岗位编码")]
  23. public string? post_code { get; set; }
  24. /// <summary>
  25. /// 岗位名称
  26. /// </summary>
  27. [StringLength(255)]
  28. [Description("岗位名称")]
  29. public string? post_name { get; set; }
  30. /// <summary>
  31. /// 岗位备注
  32. /// </summary>
  33. [StringLength(255)]
  34. [Description("岗位备注")]
  35. public string? post_remark { get; set; }
  36. /// <summary>
  37. /// 岗位级别
  38. /// </summary>
  39. [Description("岗位级别")]
  40. public int? post_level { get; set; }
  41. /// <summary>
  42. /// 岗位路径
  43. /// </summary>
  44. [StringLength(255)]
  45. [Description("岗位路径")]
  46. public string? post_path { get; set; }
  47. /// <summary>
  48. /// 岗位排序
  49. /// </summary>
  50. [Description("岗位排序")]
  51. public int? post_sort { get; set; }
  52. /// <summary>
  53. /// 上级岗位
  54. /// </summary>
  55. [Description("上级岗位")]
  56. public long? parent_id { get; set; }
  57. /// <summary>
  58. /// 部门id
  59. /// </summary>
  60. [Description("部门id")]
  61. public long? dept_id { get; set; }
  62. /// <summary>
  63. /// 数据状态标识 1启用 0停用
  64. /// </summary>
  65. [StringLength(255)]
  66. [Description("数据状态标识 1启用 -1停用")]
  67. [DefaultValue(true)]
  68. public bool state { get; set; }
  69. }
  70. }