PersonnelVO.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. package cn.cslg.pas.common.model;
  2. import cn.cslg.pas.common.model.vo.BaseVO;
  3. import lombok.Data;
  4. import lombok.EqualsAndHashCode;
  5. import lombok.experimental.Accessors;
  6. import java.util.List;
  7. /**
  8. * @author 沈永艺
  9. * @date 2022-8-4
  10. * @description 人员类 前台对应实体
  11. */
  12. @Data
  13. @Accessors(chain = true)
  14. public class PersonnelVO {
  15. /**
  16. * ID
  17. */
  18. private Integer id;
  19. /**
  20. * Front:姓名
  21. * Back:人员名称
  22. */
  23. private String name;
  24. /**
  25. * Front:性别
  26. * Back:人员性别
  27. */
  28. private Integer gender;
  29. /**
  30. * Front:邮箱
  31. * Back:人员邮箱
  32. */
  33. private String email;
  34. /**
  35. * Front:联系方式
  36. * Back:人员联系电话
  37. */
  38. private String mobile;
  39. /**
  40. * Front:所属租户
  41. * Back:租户ID
  42. */
  43. private Integer tenant;
  44. /**
  45. * Front:状态
  46. * Back:人员账号状态(1启用0停用)
  47. */
  48. private Integer state;
  49. /**
  50. * Front:账号
  51. * Back:人员账号
  52. */
  53. private String username;
  54. /**
  55. * Front:密码
  56. * Back:人员密码
  57. */
  58. private String password;
  59. /**
  60. * Front:备注
  61. * Back:人员描述
  62. */
  63. private String remark;
  64. /**
  65. * Front:QQ号
  66. * Back:人员QQ号
  67. */
  68. private String qqNumber;
  69. /**
  70. * Front:微信号
  71. * Back:人员微信号
  72. */
  73. private String wechat;
  74. /**
  75. * Front:钉钉号
  76. * Back:人员钉钉号
  77. */
  78. private String nail;
  79. /**
  80. * Front:
  81. * Back:租户名称
  82. */
  83. private String tenantName;
  84. /**
  85. * Front:
  86. * Back:租户ID
  87. */
  88. private Integer tenantId;
  89. /**
  90. * 登陆成功后生成的Token
  91. */
  92. private String token;
  93. /**
  94. * 角色List
  95. */
  96. private List<PerRole> rList;
  97. /**
  98. * 部门职位List
  99. */
  100. private List<DP> dpList;
  101. /**
  102. * 角色类型(是否为管理角色)
  103. */
  104. private Integer roleType;
  105. /**
  106. * 租户类型
  107. */
  108. private String tenantType;
  109. /**
  110. * 部门职位绑定关系
  111. */
  112. @Data
  113. public static class DP {
  114. /**
  115. * 部门名称
  116. */
  117. private String departmentName;
  118. /**
  119. * 部门ID
  120. */
  121. private Integer departmentId;
  122. /**
  123. * 职位名称
  124. */
  125. private String positionName;
  126. /**
  127. * 职位ID
  128. */
  129. private Integer positionId;
  130. }
  131. /**
  132. * 角色信息
  133. */
  134. @Data
  135. public static class PerRole {
  136. /**
  137. * 角色名称
  138. */
  139. private String roleName;
  140. /**
  141. * 角色ID
  142. */
  143. private Integer roleId;
  144. }
  145. }