HsOrgPersonnelFiles.java 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. package com.willalp.files.domain;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import com.willalp.common.annotation.Excel;
  8. import com.willalp.common.core.domain.BaseEntity;
  9. import org.apache.commons.lang3.builder.ToStringBuilder;
  10. import org.apache.commons.lang3.builder.ToStringStyle;
  11. import java.util.Date;
  12. /**
  13. * 机构人员档案对象 hs_org_personnel_files
  14. *
  15. * @author willalp
  16. * @date 2022-08-01
  17. */
  18. @TableName("hs_org_personnel_files")
  19. public class HsOrgPersonnelFiles extends BaseEntity {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * 主键
  23. */
  24. @TableId
  25. private String id;
  26. /**
  27. * 用户编号
  28. */
  29. @Excel(name = "用户编号")
  30. private String userCode;
  31. /**
  32. * 工号
  33. */
  34. @Excel(name = "工号")
  35. private String jobNo;
  36. /**
  37. * 姓名
  38. */
  39. @Excel(name = "姓名")
  40. private String userName;
  41. /**
  42. * 性别(0=未知,1=男,2=女)
  43. */
  44. @Excel(name = "性别", readConverterExp = "0=未知,1=男,2=女")
  45. private String sex;
  46. /**
  47. * 年龄
  48. */
  49. @Excel(name = "年龄 ")
  50. private Integer age;
  51. /**
  52. * 民族
  53. */
  54. @Excel(name = "民族")
  55. private String nation;
  56. /**
  57. * 用户类型
  58. */
  59. @TableField(exist = false)
  60. private String userType;
  61. /**
  62. * 机构编号
  63. */
  64. @TableField(exist = false)
  65. private String orgCode;
  66. /**
  67. * 籍贯
  68. */
  69. @Excel(name = "籍贯")
  70. private String origo;
  71. /**
  72. * 政治面貌
  73. */
  74. @Excel(name = "政治面貌")
  75. private String politicsStatus;
  76. /**
  77. * 文化程度
  78. */
  79. @Excel(name = "文化程度")
  80. private String educationalLevel;
  81. /**
  82. * 身份证号
  83. */
  84. @Excel(name = "身份证号(需要文本格式)", width = 30)
  85. private String idCard;
  86. /**
  87. * 生日
  88. */
  89. @Excel(name = "生日(需要文本格式)")
  90. private String birthday;
  91. /**
  92. * 居住地
  93. */
  94. @Excel(name = "居住地")
  95. private String residence;
  96. /**
  97. * 联系电话
  98. */
  99. @Excel(name = "联系电话")
  100. private String phone;
  101. /**
  102. * 邮箱
  103. */
  104. @Excel(name = "邮箱")
  105. private String email;
  106. /**
  107. * 座机号
  108. */
  109. @Excel(name = "座机号")
  110. private String seatNo;
  111. /**
  112. * 岗位名称
  113. */
  114. @Excel(name = "岗位名称")
  115. private String post;
  116. /**
  117. * 取得职称
  118. */
  119. @Excel(name = "取得职称")
  120. private String jobTitle;
  121. /**
  122. * 所属部门
  123. */
  124. private String department;
  125. /**
  126. * 入职时间
  127. */
  128. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  129. @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
  130. private Date hiredate;
  131. /**
  132. * 离职时间
  133. */
  134. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  135. @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
  136. private Date resignationTime;
  137. /**
  138. * 是否删除(0.未删除;1.已删除)
  139. */
  140. @TableLogic
  141. private Integer isDelete;
  142. public void setId(String id) {
  143. this.id = id;
  144. }
  145. public String getId() {
  146. return id;
  147. }
  148. public void setUserCode(String userCode) {
  149. this.userCode = userCode;
  150. }
  151. public String getUserCode() {
  152. return userCode;
  153. }
  154. public void setJobNo(String jobNo) {
  155. this.jobNo = jobNo;
  156. }
  157. public String getJobNo() {
  158. return jobNo;
  159. }
  160. public void setUserName(String userName) {
  161. this.userName = userName;
  162. }
  163. public String getUserName() {
  164. return userName;
  165. }
  166. public void setSex(String sex) {
  167. this.sex = sex;
  168. }
  169. public String getSex() {
  170. return sex;
  171. }
  172. public void setAge(Integer age) {
  173. this.age = age;
  174. }
  175. public Integer getAge() {
  176. return age;
  177. }
  178. public void setNation(String nation) {
  179. this.nation = nation;
  180. }
  181. public String getNation() {
  182. return nation;
  183. }
  184. public void setOrigo(String origo) {
  185. this.origo = origo;
  186. }
  187. public String getOrigo() {
  188. return origo;
  189. }
  190. public void setPoliticsStatus(String politicsStatus) {
  191. this.politicsStatus = politicsStatus;
  192. }
  193. public String getPoliticsStatus() {
  194. return politicsStatus;
  195. }
  196. public void setEducationalLevel(String educationalLevel) {
  197. this.educationalLevel = educationalLevel;
  198. }
  199. public String getEducationalLevel() {
  200. return educationalLevel;
  201. }
  202. public void setIdCard(String idCard) {
  203. this.idCard = idCard;
  204. }
  205. public String getIdCard() {
  206. return idCard;
  207. }
  208. public void setBirthday(String birthday) {
  209. this.birthday = birthday;
  210. }
  211. public String getBirthday() {
  212. return birthday;
  213. }
  214. public void setResidence(String residence) {
  215. this.residence = residence;
  216. }
  217. public String getResidence() {
  218. return residence;
  219. }
  220. public void setPhone(String phone) {
  221. this.phone = phone;
  222. }
  223. public String getPhone() {
  224. return phone;
  225. }
  226. public void setEmail(String eMail) {
  227. this.email = eMail;
  228. }
  229. public String getEmail() {
  230. return email;
  231. }
  232. public void setSeatNo(String seatNo) {
  233. this.seatNo = seatNo;
  234. }
  235. public String getSeatNo() {
  236. return seatNo;
  237. }
  238. public void setJobTitle(String jobTitle) {
  239. this.jobTitle = jobTitle;
  240. }
  241. public String getJobTitle() {
  242. return jobTitle;
  243. }
  244. public void setDepartment(String department) {
  245. this.department = department;
  246. }
  247. public String getDepartment() {
  248. return department;
  249. }
  250. public void setHiredate(Date hiredate) {
  251. this.hiredate = hiredate;
  252. }
  253. public Date getHiredate() {
  254. return hiredate;
  255. }
  256. public void setResignationTime(Date resignationTime) {
  257. this.resignationTime = resignationTime;
  258. }
  259. public Date getResignationTime() {
  260. return resignationTime;
  261. }
  262. public void setIsDelete(Integer isDelete) {
  263. this.isDelete = isDelete;
  264. }
  265. public Integer getIsDelete() {
  266. return isDelete;
  267. }
  268. @Override
  269. public String toString() {
  270. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  271. .append("id", getId())
  272. .append("userCode", getUserCode())
  273. .append("jobNo", getJobNo())
  274. .append("userName", getUserName())
  275. .append("sex", getSex())
  276. .append("age", getAge())
  277. .append("nation", getNation())
  278. .append("origo", getOrigo())
  279. .append("politicsStatus", getPoliticsStatus())
  280. .append("educationalLevel", getEducationalLevel())
  281. .append("idCard", getIdCard())
  282. .append("birthday", getBirthday())
  283. .append("residence", getResidence())
  284. .append("phone", getPhone())
  285. .append("email", getEmail())
  286. .append("seatNo", getSeatNo())
  287. .append("jobTitle", getJobTitle())
  288. .append("department", getDepartment())
  289. .append("hiredate", getHiredate())
  290. .append("resignationTime", getResignationTime())
  291. .append("isDelete", getIsDelete())
  292. .append("createBy", getCreateBy())
  293. .append("createTime", getCreateTime())
  294. .append("updateBy", getUpdateBy())
  295. .append("updateTime", getUpdateTime())
  296. .append("remark", getRemark())
  297. .toString();
  298. }
  299. public String getUserType() {
  300. return userType;
  301. }
  302. public void setUserType(String userType) {
  303. this.userType = userType;
  304. }
  305. public String getOrgCode() {
  306. return orgCode;
  307. }
  308. public void setOrgCode(String orgCode) {
  309. this.orgCode = orgCode;
  310. }
  311. public String getPost() {
  312. return post;
  313. }
  314. public void setPost(String post) {
  315. this.post = post;
  316. }
  317. }