TBranchMember.java 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. package com.ruoyi.branch.domain;
  2. import java.util.Date;
  3. import java.util.List;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import com.ruoyi.common.core.domain.entity.SysRole;
  6. import com.ruoyi.system.domain.SysPost;
  7. import org.apache.commons.lang3.builder.ToStringBuilder;
  8. import org.apache.commons.lang3.builder.ToStringStyle;
  9. import com.ruoyi.common.annotation.Excel;
  10. import com.ruoyi.common.core.domain.BaseEntity;
  11. /**
  12. * 支部成员管理对象 t_branch_member
  13. *
  14. * @author ruoyi
  15. * @date 2023-06-15
  16. */
  17. public class TBranchMember extends BaseEntity
  18. {
  19. private static final long serialVersionUID = 1L;
  20. /** 主键id */
  21. @Excel(name = "主键id")
  22. private Long memberId;
  23. /** 用户id */
  24. @Excel(name = "用户id")
  25. private Long userId;
  26. /** 成员类型 */
  27. @Excel(name = "成员类型")
  28. private String memberType;
  29. /** 出生年月 */
  30. @JsonFormat(pattern = "yyyy-MM-dd")
  31. @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
  32. private Date birthday;
  33. /** 学历 */
  34. @Excel(name = "学历")
  35. private String educationLevel;
  36. /** 参加工作时间 */
  37. @JsonFormat(pattern = "yyyy-MM-dd")
  38. @Excel(name = "参加工作时间", width = 30, dateFormat = "yyyy-MM-dd")
  39. private Date workJoinTime;
  40. /** 入职时间 */
  41. @JsonFormat(pattern = "yyyy-MM-dd")
  42. @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
  43. private Date workEntryTime;
  44. /** 入党时间 */
  45. @JsonFormat(pattern = "yyyy-MM-dd")
  46. @Excel(name = "入党时间", width = 30, dateFormat = "yyyy-MM-dd")
  47. private Date partyEntryTime;
  48. /** 任职时间 */
  49. @JsonFormat(pattern = "yyyy-MM-dd")
  50. @Excel(name = "任职时间", width = 30, dateFormat = "yyyy-MM-dd")
  51. private Date labourEntryTime;
  52. /** 离任时间 */
  53. @JsonFormat(pattern = "yyyy-MM-dd")
  54. @Excel(name = "离任时间", width = 30, dateFormat = "yyyy-MM-dd")
  55. private Date labourLeaveTime;
  56. /** 调进时间 */
  57. @JsonFormat(pattern = "yyyy-MM-dd")
  58. @Excel(name = "调进时间", width = 30, dateFormat = "yyyy-MM-dd")
  59. private Date entryTime;
  60. /** 调出时间 */
  61. @JsonFormat(pattern = "yyyy-MM-dd")
  62. @Excel(name = "调出时间", width = 30, dateFormat = "yyyy-MM-dd")
  63. private Date leaveTime;
  64. /** 是否团员 */
  65. @Excel(name = "是否团员")
  66. private String isLeague;
  67. /** 申请入党时间 */
  68. @JsonFormat(pattern = "yyyy-MM-dd")
  69. @Excel(name = "申请入党时间", width = 30, dateFormat = "yyyy-MM-dd")
  70. private Date applyTime;
  71. /** 建表考察时间 */
  72. @JsonFormat(pattern = "yyyy-MM-dd")
  73. @Excel(name = "建表考察时间", width = 30, dateFormat = "yyyy-MM-dd")
  74. private Date formCreateTime;
  75. /** 现培养人 */
  76. @Excel(name = "现培养人")
  77. private Long currentMentor;
  78. /** 计划发展时间 */
  79. @JsonFormat(pattern = "yyyy-MM-dd")
  80. @Excel(name = "计划发展时间", width = 30, dateFormat = "yyyy-MM-dd")
  81. private Date planDevelopDuration;
  82. /** 是否参加过入党前培训(2年有效) */
  83. @Excel(name = "是否参加过入党前培训", readConverterExp = "2=年有效")
  84. private String isTrained;
  85. /** 备注(增减原因) */
  86. @Excel(name = "备注", readConverterExp = "增=减原因")
  87. private String remarks;
  88. /** 删除标志(0代表存在 2代表删除) */
  89. private String delFlag;
  90. /** 部门id */
  91. @Excel(name = "部门id")
  92. private Long deptId;
  93. /** 用户昵称 */
  94. @Excel(name = "用户名称")
  95. private String nickName;
  96. /** 用户性别 */
  97. @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
  98. private String sex;
  99. /** 手机号码 */
  100. @Excel(name = "手机号码")
  101. private String phonenumber;
  102. /** 角色对象 */
  103. private List<SysRole> roles;
  104. /** 岗位对象 */
  105. private List<SysPost> posts;
  106. /** 民族 */
  107. @Excel(name = "民族")
  108. private String ethnic;
  109. public String getEthnic() {
  110. return ethnic;
  111. }
  112. public void setEthnic(String ethnic) {
  113. this.ethnic = ethnic;
  114. }
  115. public List<SysPost> getPosts() {
  116. return posts;
  117. }
  118. public void setPosts(List<SysPost> posts) {
  119. this.posts = posts;
  120. }
  121. public String getPhonenumber() {
  122. return phonenumber;
  123. }
  124. public void setPhonenumber(String phonenumber) {
  125. this.phonenumber = phonenumber;
  126. }
  127. public String getNickName() {
  128. return nickName;
  129. }
  130. public void setNickName(String nickName) {
  131. this.nickName = nickName;
  132. }
  133. public String getSex() {
  134. return sex;
  135. }
  136. public void setSex(String sex) {
  137. this.sex = sex;
  138. }
  139. public List<SysRole> getRoles()
  140. {
  141. return roles;
  142. }
  143. public void setRoles(List<SysRole> roles)
  144. {
  145. this.roles = roles;
  146. }
  147. public void setMemberId(Long memberId)
  148. {
  149. this.memberId = memberId;
  150. }
  151. public Long getMemberId()
  152. {
  153. return memberId;
  154. }
  155. public void setUserId(Long userId)
  156. {
  157. this.userId = userId;
  158. }
  159. public Long getUserId()
  160. {
  161. return userId;
  162. }
  163. public void setMemberType(String memberType)
  164. {
  165. this.memberType = memberType;
  166. }
  167. public String getMemberType()
  168. {
  169. return memberType;
  170. }
  171. public void setBirthday(Date birthday)
  172. {
  173. this.birthday = birthday;
  174. }
  175. public Date getBirthday()
  176. {
  177. return birthday;
  178. }
  179. public void setEducationLevel(String educationLevel)
  180. {
  181. this.educationLevel = educationLevel;
  182. }
  183. public String getEducationLevel()
  184. {
  185. return educationLevel;
  186. }
  187. public void setWorkJoinTime(Date workJoinTime)
  188. {
  189. this.workJoinTime = workJoinTime;
  190. }
  191. public Date getWorkJoinTime()
  192. {
  193. return workJoinTime;
  194. }
  195. public void setWorkEntryTime(Date workEntryTime)
  196. {
  197. this.workEntryTime = workEntryTime;
  198. }
  199. public Date getWorkEntryTime()
  200. {
  201. return workEntryTime;
  202. }
  203. public void setPartyEntryTime(Date partyEntryTime)
  204. {
  205. this.partyEntryTime = partyEntryTime;
  206. }
  207. public Date getPartyEntryTime()
  208. {
  209. return partyEntryTime;
  210. }
  211. public void setLabourEntryTime(Date labourEntryTime)
  212. {
  213. this.labourEntryTime = labourEntryTime;
  214. }
  215. public Date getLabourEntryTime()
  216. {
  217. return labourEntryTime;
  218. }
  219. public void setLabourLeaveTime(Date labourLeaveTime)
  220. {
  221. this.labourLeaveTime = labourLeaveTime;
  222. }
  223. public Date getLabourLeaveTime()
  224. {
  225. return labourLeaveTime;
  226. }
  227. public void setEntryTime(Date entryTime)
  228. {
  229. this.entryTime = entryTime;
  230. }
  231. public Date getEntryTime()
  232. {
  233. return entryTime;
  234. }
  235. public void setLeaveTime(Date leaveTime)
  236. {
  237. this.leaveTime = leaveTime;
  238. }
  239. public Date getLeaveTime()
  240. {
  241. return leaveTime;
  242. }
  243. public void setIsLeague(String isLeague)
  244. {
  245. this.isLeague = isLeague;
  246. }
  247. public String getIsLeague()
  248. {
  249. return isLeague;
  250. }
  251. public void setApplyTime(Date applyTime)
  252. {
  253. this.applyTime = applyTime;
  254. }
  255. public Date getApplyTime()
  256. {
  257. return applyTime;
  258. }
  259. public void setFormCreateTime(Date formCreateTime)
  260. {
  261. this.formCreateTime = formCreateTime;
  262. }
  263. public Date getFormCreateTime()
  264. {
  265. return formCreateTime;
  266. }
  267. public void setCurrentMentor(Long currentMentor)
  268. {
  269. this.currentMentor = currentMentor;
  270. }
  271. public Long getCurrentMentor()
  272. {
  273. return currentMentor;
  274. }
  275. public void setPlanDevelopDuration(Date planDevelopDuration)
  276. {
  277. this.planDevelopDuration = planDevelopDuration;
  278. }
  279. public Date getPlanDevelopDuration()
  280. {
  281. return planDevelopDuration;
  282. }
  283. public void setIsTrained(String isTrained)
  284. {
  285. this.isTrained = isTrained;
  286. }
  287. public String getIsTrained()
  288. {
  289. return isTrained;
  290. }
  291. public void setRemarks(String remarks)
  292. {
  293. this.remarks = remarks;
  294. }
  295. public String getRemarks()
  296. {
  297. return remarks;
  298. }
  299. public void setDelFlag(String delFlag)
  300. {
  301. this.delFlag = delFlag;
  302. }
  303. public String getDelFlag()
  304. {
  305. return delFlag;
  306. }
  307. public void setDeptId(Long deptId)
  308. {
  309. this.deptId = deptId;
  310. }
  311. public Long getDeptId()
  312. {
  313. return deptId;
  314. }
  315. @Override
  316. public String toString() {
  317. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  318. .append("memberId", getMemberId())
  319. .append("userId", getUserId())
  320. .append("memberType", getMemberType())
  321. .append("birthday", getBirthday())
  322. .append("educationLevel", getEducationLevel())
  323. .append("workJoinTime", getWorkJoinTime())
  324. .append("workEntryTime", getWorkEntryTime())
  325. .append("partyEntryTime", getPartyEntryTime())
  326. .append("labourEntryTime", getLabourEntryTime())
  327. .append("labourLeaveTime", getLabourLeaveTime())
  328. .append("entryTime", getEntryTime())
  329. .append("leaveTime", getLeaveTime())
  330. .append("isLeague", getIsLeague())
  331. .append("applyTime", getApplyTime())
  332. .append("formCreateTime", getFormCreateTime())
  333. .append("currentMentor", getCurrentMentor())
  334. .append("planDevelopDuration", getPlanDevelopDuration())
  335. .append("isTrained", getIsTrained())
  336. .append("remarks", getRemarks())
  337. .append("delFlag", getDelFlag())
  338. .append("createBy", getCreateBy())
  339. .append("createTime", getCreateTime())
  340. .append("updateBy", getUpdateBy())
  341. .append("updateTime", getUpdateTime())
  342. .append("deptId", getDeptId())
  343. .toString();
  344. }
  345. }