TStaffmgr.java 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. package com.ruoyi.project.plant.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  4. import com.ruoyi.framework.web.domain.BaseEntity;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import java.util.Date;
  8. /**
  9. * 人员管理对象 t_staffmgr
  10. *
  11. * @author ruoyi
  12. * @date 2020-11-25
  13. */
  14. public class TStaffmgr extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 唯一标识ID */
  18. private Long id;
  19. /** 装置名称 */
  20. @Excel(name = "装置名称", dictType = "PLANT_DIVIDE")
  21. private String plantCode;
  22. /** 员工编号 */
  23. @Excel(name = "员工编号")
  24. private String staffid;
  25. /** 用户编号 */
  26. private String userId;
  27. /** 员工姓名 */
  28. @Excel(name = "员工姓名")
  29. private String name;
  30. /** 性别 */
  31. @Excel(name = "性别", dictType = "sys_user_sex")
  32. private String sex;
  33. /** 出生日期 */
  34. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  35. @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
  36. private Date birthday;
  37. /** 部门 */
  38. @Excel(name = "部门", dictType = "STAFF_UNIT")
  39. private String unit;
  40. private String units;
  41. /** 班值 */
  42. @Excel(name = "班值", dictType = "TEAM_DIVIDE")
  43. private String team;
  44. private String teams;
  45. /** 实际岗位 */
  46. @Excel(name = "实际岗位", dictType = "ACTUALPOST")
  47. private String actualpost;
  48. private String actualposts;
  49. /** 联系方式 */
  50. @Excel(name = "联系方式")
  51. private String contact;
  52. /** 学历 */
  53. @Excel(name = "学历", dictType = "EDUCATION")
  54. private String education;
  55. /** 学历 */
  56. private String educations;
  57. /** 英语能力 */
  58. @Excel(name = "英语能力", dictType = "ENGLISHABILITY")
  59. private String enAbility;
  60. private String enAbilitys;
  61. /** 隐患查找数量 */
  62. @Excel(name = "隐患查找数量")
  63. private Long accidentNum;
  64. /** 邮箱 */
  65. @Excel(name = "邮箱")
  66. private String mail;
  67. /** 技能评估得分 */
  68. @Excel(name = "技能评估得分")
  69. private String skillScore;
  70. /** 状态 */
  71. private Long delFlag;
  72. /** 创建人 */
  73. private String createrCode;
  74. /** 创建时间 */
  75. private Date createdate;
  76. /** 修改人 */
  77. private String updaterCode;
  78. /** 修改时间 */
  79. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
  80. private Date updatedate;
  81. /** 部门编号 */
  82. private Long deptId;
  83. /** 部门名称 */
  84. @Excel(name = "部门名称")
  85. private String deptName;
  86. /** 备注 */
  87. @Excel(name = "备注")
  88. private String remarks;
  89. /** 岗位人员技能培训数据 */
  90. private String skillevaluation;
  91. /** 是否有邮箱 */
  92. private Long haveEmail;
  93. /** 培训时长 */
  94. private String trainingTime;
  95. /** 证件照地址 */
  96. private String photo;
  97. /** 父级领导ID */
  98. private Long pId;
  99. /** 特殊职能 */
  100. private String specialDuty;
  101. /** 离职日期 */
  102. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  103. private Date leftDate;
  104. private String leftYear;
  105. /** 是否退休 */
  106. private Integer isRetire;
  107. /** 是否新员工 */
  108. private Integer isNew;
  109. /** 区域 */
  110. private String region;
  111. /** 裂解 */
  112. private String boiler;
  113. /** 压缩 */
  114. private String cracking;
  115. /** 分离 */
  116. private String hotarea;
  117. /** PGU */
  118. private String coldarea;
  119. private boolean isChecker;
  120. public boolean isChecker() {
  121. return isChecker;
  122. }
  123. public void setChecker(boolean checker) {
  124. isChecker = checker;
  125. }
  126. public String getBoiler() {
  127. return boiler;
  128. }
  129. public void setBoiler(String boiler) {
  130. this.boiler = boiler;
  131. }
  132. public String getCracking() {
  133. return cracking;
  134. }
  135. public void setCracking(String cracking) {
  136. this.cracking = cracking;
  137. }
  138. public String getHotarea() {
  139. return hotarea;
  140. }
  141. public void setHotarea(String hotarea) {
  142. this.hotarea = hotarea;
  143. }
  144. public String getColdarea() {
  145. return coldarea;
  146. }
  147. public void setColdarea(String coldarea) {
  148. this.coldarea = coldarea;
  149. }
  150. public String getUserId() {
  151. return userId;
  152. }
  153. public void setUserId(String userId) {
  154. this.userId = userId;
  155. }
  156. public String getRegion() {
  157. return region;
  158. }
  159. public void setRegion(String region) {
  160. this.region = region;
  161. }
  162. public Date getLeftDate() {
  163. return leftDate;
  164. }
  165. public void setLeftDate(Date leftDate) {
  166. this.leftDate = leftDate;
  167. }
  168. public String getEducations() {
  169. return educations;
  170. }
  171. public void setEducations(String educations) {
  172. this.educations = educations;
  173. }
  174. public void setId(Long id)
  175. {
  176. this.id = id;
  177. }
  178. public Long getId()
  179. {
  180. return id;
  181. }
  182. public void setPlantCode(String plantCode)
  183. {
  184. this.plantCode = plantCode;
  185. }
  186. public String getPlantCode()
  187. {
  188. return plantCode;
  189. }
  190. public void setStaffid(String staffid)
  191. {
  192. this.staffid = staffid;
  193. }
  194. public String getStaffid()
  195. {
  196. return staffid;
  197. }
  198. public void setName(String name)
  199. {
  200. this.name = name;
  201. }
  202. public String getEducation() { return education; }
  203. public void setEducation(String education) { this.education = education; }
  204. public String getEnAbility() { return enAbility; }
  205. public void setEnAbility(String enAbility) { this.enAbility = enAbility; }
  206. public Long getAccidentNum() { return accidentNum; }
  207. public void setAccidentNum(Long accidentNum) { this.accidentNum = accidentNum; }
  208. public String getName()
  209. {
  210. return name;
  211. }
  212. public void setSex(String sex)
  213. {
  214. this.sex = sex;
  215. }
  216. public String getSex()
  217. {
  218. return sex;
  219. }
  220. public void setBirthday(Date birthday)
  221. {
  222. this.birthday = birthday;
  223. }
  224. public Date getBirthday()
  225. {
  226. return birthday;
  227. }
  228. public void setUnit(String unit)
  229. {
  230. this.unit = unit;
  231. }
  232. public String getUnit()
  233. {
  234. return unit;
  235. }
  236. public void setTeam(String team)
  237. {
  238. this.team = team;
  239. }
  240. public String getTeam()
  241. {
  242. return team;
  243. }
  244. public void setActualpost(String actualpost)
  245. {
  246. this.actualpost = actualpost;
  247. }
  248. public String getActualpost()
  249. {
  250. return actualpost;
  251. }
  252. public void setContact(String contact)
  253. {
  254. this.contact = contact;
  255. }
  256. public String getContact()
  257. {
  258. return contact;
  259. }
  260. public void setDelFlag(Long delFlag)
  261. {
  262. this.delFlag = delFlag;
  263. }
  264. public Long getDelFlag()
  265. {
  266. return delFlag;
  267. }
  268. public void setCreaterCode(String createrCode)
  269. {
  270. this.createrCode = createrCode;
  271. }
  272. public String getCreaterCode()
  273. {
  274. return createrCode;
  275. }
  276. public void setCreatedate(Date createdate)
  277. {
  278. this.createdate = createdate;
  279. }
  280. public Date getCreatedate()
  281. {
  282. return createdate;
  283. }
  284. public void setUpdaterCode(String updaterCode)
  285. {
  286. this.updaterCode = updaterCode;
  287. }
  288. public String getUpdaterCode()
  289. {
  290. return updaterCode;
  291. }
  292. public void setUpdatedate(Date updatedate)
  293. {
  294. this.updatedate = updatedate;
  295. }
  296. public Date getUpdatedate()
  297. {
  298. return updatedate;
  299. }
  300. public void setDeptId(Long deptId)
  301. {
  302. this.deptId = deptId;
  303. }
  304. public Long getDeptId()
  305. {
  306. return deptId;
  307. }
  308. public void setRemarks(String remarks)
  309. {
  310. this.remarks = remarks;
  311. }
  312. public String getRemarks()
  313. {
  314. return remarks;
  315. }
  316. public void setDeptName(String deptName)
  317. {
  318. this.deptName = deptName;
  319. }
  320. public String getDeptName()
  321. {
  322. return deptName;
  323. }
  324. public void setMail(String mail) { this.mail = mail; }
  325. public String getMail() { return mail; }
  326. public void setSkillScore(String skillScore) { this.skillScore = skillScore; }
  327. public String getSkillScore() { return skillScore; }
  328. public void setHaveEmail(Long haveEmail) { this.haveEmail = haveEmail; }
  329. public Long getHaveEmail() { return haveEmail; }
  330. public String getUnits() {
  331. return units;
  332. }
  333. public void setUnits(String units) {
  334. this.units = units;
  335. }
  336. public String getTeams() {
  337. return teams;
  338. }
  339. public void setTeams(String teams) {
  340. this.teams = teams;
  341. }
  342. public String getActualposts() {
  343. return actualposts;
  344. }
  345. public void setActualposts(String actualposts) {
  346. this.actualposts = actualposts;
  347. }
  348. public String getEnAbilitys() {
  349. return enAbilitys;
  350. }
  351. public void setEnAbilitys(String enAbilitys) {
  352. this.enAbilitys = enAbilitys;
  353. }
  354. public String getSkillevaluation() {
  355. return skillevaluation;
  356. }
  357. public void setSkillevaluation(String skillevaluation) {
  358. this.skillevaluation = skillevaluation;
  359. }
  360. public String getTrainingTime() { return trainingTime; }
  361. public void setTrainingTime(String trainingTime) { this.trainingTime = trainingTime; }
  362. public String getPhoto() { return photo; }
  363. public void setPhoto(String photo) { this.photo = photo; }
  364. public void setpId(Long pId) { this.pId = pId; }
  365. public Long getpId() { return pId; }
  366. public void setSpecialDuty(String specialDuty) { this.specialDuty = specialDuty; }
  367. public String getSpecialDuty() { return specialDuty; }
  368. public String getLeftYear() {
  369. return leftYear;
  370. }
  371. public void setLeftYear(String leftYear) {
  372. this.leftYear = leftYear;
  373. }
  374. public Integer getIsRetire() {
  375. return isRetire;
  376. }
  377. public void setIsRetire(Integer isRetire) {
  378. this.isRetire = isRetire;
  379. }
  380. public Integer getIsNew() {
  381. return isNew;
  382. }
  383. public void setIsNew(Integer isNew) {
  384. this.isNew = isNew;
  385. }
  386. @Override
  387. public String toString() {
  388. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  389. .append("id", getId())
  390. .append("plantCode", getPlantCode())
  391. .append("staffid", getStaffid())
  392. .append("name", getName())
  393. .append("sex", getSex())
  394. .append("birthday", getBirthday())
  395. .append("unit", getUnit())
  396. .append("units", getUnits())
  397. .append("team", getTeam())
  398. .append("actualpost", getActualpost())
  399. .append("actualposts", getActualposts())
  400. .append("contact", getContact())
  401. .append("education", getEducation())
  402. .append("enAbility", getEnAbility())
  403. .append("mail", getMail())
  404. .append("skillScore", getSkillScore())
  405. .append("accidentNum", getAccidentNum())
  406. .append("delFlag", getDelFlag())
  407. .append("createrCode", getCreaterCode())
  408. .append("createdate", getCreatedate())
  409. .append("updaterCode", getUpdaterCode())
  410. .append("updatedate", getUpdatedate())
  411. .append("deptId", getDeptId())
  412. .append("remarks", getRemarks())
  413. .append("deptName", getDeptName())
  414. .append("haveEmail", getHaveEmail())
  415. .append("trainingTime", getTrainingTime())
  416. .append("photo", getPhoto())
  417. .toString();
  418. }
  419. }