Post.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. package com.ruoyi.project.system.post.domain;
  2. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  3. import com.ruoyi.framework.web.domain.BaseEntity;
  4. /**
  5. * 岗位对象 sys_post
  6. *
  7. * @author ruoyi
  8. */
  9. public class Post extends BaseEntity
  10. {
  11. private static final long serialVersionUID = 1L;
  12. /** 岗位序号 */
  13. @Excel(name = "岗位序号")
  14. private Long postId;
  15. /** 岗位编码 */
  16. @Excel(name = "岗位编码")
  17. private String postCode;
  18. /** 岗位名称 */
  19. @Excel(name = "岗位名称")
  20. private String postName;
  21. /** 岗位排序 */
  22. @Excel(name = "岗位排序")
  23. private String postSort;
  24. /** 状态(0正常 1停用) */
  25. @Excel(name = "状态")
  26. private String status;
  27. /** 用户是否存在此岗位标识 默认不存在 */
  28. private boolean flag = false;
  29. public Long getPostId()
  30. {
  31. return postId;
  32. }
  33. public void setPostId(Long postId)
  34. {
  35. this.postId = postId;
  36. }
  37. public String getPostCode()
  38. {
  39. return postCode;
  40. }
  41. public void setPostCode(String postCode)
  42. {
  43. this.postCode = postCode;
  44. }
  45. public String getPostName()
  46. {
  47. return postName;
  48. }
  49. public void setPostName(String postName)
  50. {
  51. this.postName = postName;
  52. }
  53. public String getPostSort()
  54. {
  55. return postSort;
  56. }
  57. public void setPostSort(String postSort)
  58. {
  59. this.postSort = postSort;
  60. }
  61. public String getStatus()
  62. {
  63. return status;
  64. }
  65. public void setStatus(String status)
  66. {
  67. this.status = status;
  68. }
  69. public boolean isFlag()
  70. {
  71. return flag;
  72. }
  73. public void setFlag(boolean flag)
  74. {
  75. this.flag = flag;
  76. }
  77. @Override
  78. public String toString()
  79. {
  80. return "Post [postId=" + postId + ", postCode=" + postCode + ", postName=" + postName + ", postSort=" + postSort
  81. + ", status=" + status + ", flag=" + flag + "]";
  82. }
  83. }