UserWageDetaillsDto.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. package cn.com.lzt.userwage.dto;
  2. import java.util.List;
  3. import org.jeecgframework.poi.excel.annotation.Excel;
  4. /**
  5. * @Title: Entity
  6. * @Description: 员工工资核算表
  7. * @author onlineGenerator
  8. * @date 2017-10-26 18:36:30
  9. * @version V1.0
  10. *
  11. */
  12. public class UserWageDetaillsDto implements java.io.Serializable,Comparable<UserWageDetaillsDto> {
  13. /**
  14. *
  15. */
  16. private static final long serialVersionUID = 8967248541245698246L;
  17. /**主键*/
  18. private java.lang.String id;
  19. /**员工id*/
  20. private java.lang.String userid;
  21. private java.lang.String userids;
  22. public java.lang.String getUserids() {
  23. return userids;
  24. }
  25. public void setUserids(java.lang.String userids) {
  26. this.userids = userids;
  27. }
  28. @Excel(name="员工工号",width=15)
  29. private java.lang.String username;
  30. @Excel(name="员工姓名",width=15)
  31. private java.lang.String realname;
  32. /**所属单位id*/
  33. //@Excel(name="所属单位",width=15,dictTable="t_s_depart",dicCode="id",dicText="departname")
  34. private java.lang.String belongUnitid;
  35. //部门名称
  36. @Excel(name="所属单位",width=15)
  37. private java.lang.String belongUnitName;
  38. //项目id
  39. private java.lang.String pjtId;
  40. @Excel(name="身份证号",width=15)
  41. private java.lang.String pduname;
  42. @Excel(name="职务",width=15)
  43. private java.lang.String duname;
  44. /**职务id*/
  45. private java.lang.String dutiesid;
  46. @Excel(name="开户银行",width=15)
  47. private java.lang.String belongBank;
  48. @Excel(name="工资卡号",width=15)
  49. private java.lang.String cardNumber;
  50. @Excel(name="缴金单位",width=15)
  51. private String socialSecurityUnit;
  52. /**工资月度*/
  53. @Excel(name="工资月度",width=15)
  54. private java.lang.String monthly;
  55. /**基本工资*/
  56. @Excel(name="基本工资",width=15,isStatistics = true)
  57. private java.math.BigDecimal basicWage;
  58. /**职务津贴*/
  59. @Excel(name="职务津贴",width=15,isStatistics = true)
  60. private java.math.BigDecimal dutiesAllowance;
  61. /**证书补贴*/
  62. @Excel(name="证书补贴",width=15,isStatistics = true)
  63. private java.math.BigDecimal certificateSubsidy;
  64. /**交通补贴*/
  65. @Excel(name="交通补贴",width=15,isStatistics = true)
  66. private java.math.BigDecimal trafficSubsidy;
  67. /**高温补贴*/
  68. @Excel(name="高温补贴",width=15,isStatistics = true)
  69. private java.math.BigDecimal megathermalSubsidy;
  70. /**独生子女费*/
  71. @Excel(name="独生子女费",width=15,isStatistics = true)
  72. private java.math.BigDecimal onlyChildCost;
  73. /**其他补贴*/
  74. @Excel(name="其他补贴",width=15,isStatistics = true)
  75. private java.math.BigDecimal otherSubsidy;
  76. /**奖金*/
  77. @Excel(name="奖金",width=15,isStatistics = true)
  78. private java.math.BigDecimal bonus;
  79. /**项目绩效*/
  80. @Excel(name="项目绩效",width=15,isStatistics = true)
  81. private java.math.BigDecimal projectPerformance;
  82. /**餐补白班津贴*/
  83. @Excel(name="餐补白班津贴",width=15,isStatistics = true)
  84. private java.math.BigDecimal mealsSubsidyDay;
  85. /**餐补夜班津贴*/
  86. @Excel(name="餐补夜班津贴",width=15,isStatistics = true)
  87. private java.math.BigDecimal mealsSubsidyNight;
  88. /**餐费补助*/
  89. @Excel(name="餐费补助",width=15,isStatistics = true)
  90. private java.math.BigDecimal mealsSubsidy;
  91. /**加班超时费*/
  92. @Excel(name="加班超时费",width=15,isStatistics = true)
  93. private java.math.BigDecimal overtimepayTimeout;
  94. /**国定加班费*/
  95. @Excel(name="国定加班费",width=15,isStatistics = true)
  96. private java.math.BigDecimal overtimepayFixed;
  97. /**值班费*/
  98. @Excel(name="值班费",width=15,isStatistics = true)
  99. private java.math.BigDecimal duty;
  100. /**特殊加班费*/
  101. @Excel(name="特殊加班费",width=15,isStatistics = true)
  102. private java.math.BigDecimal specialOvertime;
  103. /**病假扣*/
  104. @Excel(name="病假扣",width=15,isStatistics = true)
  105. private java.math.BigDecimal sickLeaveDebit;
  106. /**事假扣*/
  107. @Excel(name="事假扣",width=15,isStatistics = true)
  108. private java.math.BigDecimal thingLeaveDebit;
  109. /**缺勤扣*/
  110. @Excel(name="缺勤扣",width=15,isStatistics = true)
  111. private java.math.BigDecimal absenceDebit;
  112. /**缴金补贴*/
  113. @Excel(name="缴金补贴",width=15,isStatistics = true)
  114. private java.math.BigDecimal paymentSubsidy;
  115. /**其他扣除*/
  116. @Excel(name="其他扣除",width=15,isStatistics = true)
  117. private java.math.BigDecimal otherDebit;
  118. /**代扣款*/
  119. @Excel(name="代扣款",width=15,isStatistics = true)
  120. private java.math.BigDecimal daikouDebit;
  121. @Excel(name="补发调整",width=15,isStatistics = true)
  122. private java.math.BigDecimal reissue;
  123. /**税前合计金额*/
  124. @Excel(name="应发工资",width=15,isStatistics = true)
  125. private java.math.BigDecimal preTaxMone;
  126. /**社保扣除*/
  127. @Excel(name="社保扣除",width=15,isStatistics = true)
  128. private java.math.BigDecimal socialSecurityDebit;
  129. /**公积金扣除*/
  130. @Excel(name="公积金扣除",width=15,isStatistics = true)
  131. private java.math.BigDecimal providentFundDebit;
  132. /**扣税金额*/
  133. @Excel(name="扣税金额",width=15,isStatistics = true)
  134. private java.math.BigDecimal taxMoney;
  135. /**实发金额*/
  136. @Excel(name="实发金额",width=15,isStatistics = true)
  137. private java.math.BigDecimal actualMoney;
  138. /**企业社保*/
  139. @Excel(name="企业社保",width=15,isStatistics = true)
  140. private java.math.BigDecimal comSocialSecurityDebit;
  141. /**企业公积金*/
  142. @Excel(name="企业公积金",width=15,isStatistics = true)
  143. private java.math.BigDecimal comProvidentFundDebit;
  144. /**公司成本合计*/
  145. @Excel(name="企业成本合计",width=15,isStatistics = true)
  146. private java.math.BigDecimal comCost;
  147. /**状态*/
  148. @Excel(name="状态",width=15,dicCode="businesStatus")
  149. private java.lang.String status;
  150. /**备注说明*/
  151. @Excel(name="备注说明",width=15)
  152. private java.lang.String remark;
  153. public String getSocialSecurityUnit() {
  154. return socialSecurityUnit;
  155. }
  156. public void setSocialSecurityUnit(String socialSecurityUnit) {
  157. this.socialSecurityUnit = socialSecurityUnit;
  158. }
  159. public java.math.BigDecimal getComCost() {
  160. return comCost;
  161. }
  162. public void setComCost(java.math.BigDecimal comCost) {
  163. this.comCost = comCost;
  164. }
  165. public java.math.BigDecimal getDaikouDebit() {
  166. return daikouDebit;
  167. }
  168. public void setDaikouDebit(java.math.BigDecimal daikouDebit) {
  169. this.daikouDebit = daikouDebit;
  170. }
  171. public java.math.BigDecimal getComSocialSecurityDebit() {
  172. return comSocialSecurityDebit;
  173. }
  174. public void setComSocialSecurityDebit(java.math.BigDecimal comSocialSecurityDebit) {
  175. this.comSocialSecurityDebit = comSocialSecurityDebit;
  176. }
  177. public java.math.BigDecimal getComProvidentFundDebit() {
  178. return comProvidentFundDebit;
  179. }
  180. public void setComProvidentFundDebit(java.math.BigDecimal comProvidentFundDebit) {
  181. this.comProvidentFundDebit = comProvidentFundDebit;
  182. }
  183. public java.lang.String getBelongBank() {
  184. return belongBank;
  185. }
  186. public void setBelongBank(java.lang.String belongBank) {
  187. this.belongBank = belongBank;
  188. }
  189. public java.lang.String getCardNumber() {
  190. return cardNumber;
  191. }
  192. public void setCardNumber(java.lang.String cardNumber) {
  193. this.cardNumber = cardNumber;
  194. }
  195. public java.math.BigDecimal getReissue() {
  196. return reissue;
  197. }
  198. public void setReissue(java.math.BigDecimal reissue) {
  199. this.reissue = reissue;
  200. }
  201. public java.lang.String getDuname() {
  202. return duname;
  203. }
  204. public void setDuname(java.lang.String duname) {
  205. this.duname = duname;
  206. }
  207. public java.lang.String getPduname() {
  208. return pduname;
  209. }
  210. public void setPduname(java.lang.String pduname) {
  211. this.pduname = pduname;
  212. }
  213. private List<String> orgIdList;
  214. public List<String> getOrgIdList() {
  215. return orgIdList;
  216. }
  217. public void setOrgIdList(List<String> orgIdList) {
  218. this.orgIdList = orgIdList;
  219. }
  220. public java.lang.String getId() {
  221. return id;
  222. }
  223. public void setId(java.lang.String id) {
  224. this.id = id;
  225. }
  226. public java.lang.String getBelongUnitName() {
  227. return belongUnitName;
  228. }
  229. public void setBelongUnitName(java.lang.String belongUnitName) {
  230. this.belongUnitName = belongUnitName;
  231. }
  232. public java.lang.String getUserid() {
  233. return userid;
  234. }
  235. public void setUserid(java.lang.String userid) {
  236. this.userid = userid;
  237. }
  238. public java.lang.String getBelongUnitid() {
  239. return belongUnitid;
  240. }
  241. public void setBelongUnitid(java.lang.String belongUnitid) {
  242. this.belongUnitid = belongUnitid;
  243. }
  244. public java.lang.String getDutiesid() {
  245. return dutiesid;
  246. }
  247. public void setDutiesid(java.lang.String dutiesid) {
  248. this.dutiesid = dutiesid;
  249. }
  250. public java.lang.String getMonthly() {
  251. return monthly;
  252. }
  253. public void setMonthly(java.lang.String monthly) {
  254. this.monthly = monthly;
  255. }
  256. public java.math.BigDecimal getBasicWage() {
  257. return basicWage;
  258. }
  259. public void setBasicWage(java.math.BigDecimal basicWage) {
  260. this.basicWage = basicWage;
  261. }
  262. public java.math.BigDecimal getDutiesAllowance() {
  263. return dutiesAllowance;
  264. }
  265. public void setDutiesAllowance(java.math.BigDecimal dutiesAllowance) {
  266. this.dutiesAllowance = dutiesAllowance;
  267. }
  268. public java.math.BigDecimal getCertificateSubsidy() {
  269. return certificateSubsidy;
  270. }
  271. public void setCertificateSubsidy(java.math.BigDecimal certificateSubsidy) {
  272. this.certificateSubsidy = certificateSubsidy;
  273. }
  274. public java.math.BigDecimal getTrafficSubsidy() {
  275. return trafficSubsidy;
  276. }
  277. public void setTrafficSubsidy(java.math.BigDecimal trafficSubsidy) {
  278. this.trafficSubsidy = trafficSubsidy;
  279. }
  280. public java.math.BigDecimal getMegathermalSubsidy() {
  281. return megathermalSubsidy;
  282. }
  283. public void setMegathermalSubsidy(java.math.BigDecimal megathermalSubsidy) {
  284. this.megathermalSubsidy = megathermalSubsidy;
  285. }
  286. public java.math.BigDecimal getOnlyChildCost() {
  287. return onlyChildCost;
  288. }
  289. public void setOnlyChildCost(java.math.BigDecimal onlyChildCost) {
  290. this.onlyChildCost = onlyChildCost;
  291. }
  292. public java.math.BigDecimal getOtherSubsidy() {
  293. return otherSubsidy;
  294. }
  295. public void setOtherSubsidy(java.math.BigDecimal otherSubsidy) {
  296. this.otherSubsidy = otherSubsidy;
  297. }
  298. public java.math.BigDecimal getBonus() {
  299. return bonus;
  300. }
  301. public void setBonus(java.math.BigDecimal bonus) {
  302. this.bonus = bonus;
  303. }
  304. public java.lang.String getPjtId() {
  305. return pjtId;
  306. }
  307. public void setPjtId(java.lang.String pjtId) {
  308. this.pjtId = pjtId;
  309. }
  310. public java.math.BigDecimal getProjectPerformance() {
  311. return projectPerformance;
  312. }
  313. public void setProjectPerformance(java.math.BigDecimal projectPerformance) {
  314. this.projectPerformance = projectPerformance;
  315. }
  316. public java.math.BigDecimal getMealsSubsidyDay() {
  317. return mealsSubsidyDay;
  318. }
  319. public void setMealsSubsidyDay(java.math.BigDecimal mealsSubsidyDay) {
  320. this.mealsSubsidyDay = mealsSubsidyDay;
  321. }
  322. public java.math.BigDecimal getMealsSubsidyNight() {
  323. return mealsSubsidyNight;
  324. }
  325. public void setMealsSubsidyNight(java.math.BigDecimal mealsSubsidyNight) {
  326. this.mealsSubsidyNight = mealsSubsidyNight;
  327. }
  328. public java.math.BigDecimal getMealsSubsidy() {
  329. return mealsSubsidy;
  330. }
  331. public void setMealsSubsidy(java.math.BigDecimal mealsSubsidy) {
  332. this.mealsSubsidy = mealsSubsidy;
  333. }
  334. public java.math.BigDecimal getOvertimepayTimeout() {
  335. return overtimepayTimeout;
  336. }
  337. public void setOvertimepayTimeout(java.math.BigDecimal overtimepayTimeout) {
  338. this.overtimepayTimeout = overtimepayTimeout;
  339. }
  340. public java.math.BigDecimal getOvertimepayFixed() {
  341. return overtimepayFixed;
  342. }
  343. public void setOvertimepayFixed(java.math.BigDecimal overtimepayFixed) {
  344. this.overtimepayFixed = overtimepayFixed;
  345. }
  346. public java.math.BigDecimal getDuty() {
  347. return duty;
  348. }
  349. public void setDuty(java.math.BigDecimal duty) {
  350. this.duty = duty;
  351. }
  352. public java.math.BigDecimal getSpecialOvertime() {
  353. return specialOvertime;
  354. }
  355. public void setSpecialOvertime(java.math.BigDecimal specialOvertime) {
  356. this.specialOvertime = specialOvertime;
  357. }
  358. public java.math.BigDecimal getSickLeaveDebit() {
  359. return sickLeaveDebit;
  360. }
  361. public void setSickLeaveDebit(java.math.BigDecimal sickLeaveDebit) {
  362. this.sickLeaveDebit = sickLeaveDebit;
  363. }
  364. public java.math.BigDecimal getThingLeaveDebit() {
  365. return thingLeaveDebit;
  366. }
  367. public void setThingLeaveDebit(java.math.BigDecimal thingLeaveDebit) {
  368. this.thingLeaveDebit = thingLeaveDebit;
  369. }
  370. public java.math.BigDecimal getAbsenceDebit() {
  371. return absenceDebit;
  372. }
  373. public void setAbsenceDebit(java.math.BigDecimal absenceDebit) {
  374. this.absenceDebit = absenceDebit;
  375. }
  376. public java.math.BigDecimal getPaymentSubsidy() {
  377. return paymentSubsidy;
  378. }
  379. public void setPaymentSubsidy(java.math.BigDecimal paymentSubsidy) {
  380. this.paymentSubsidy = paymentSubsidy;
  381. }
  382. public java.math.BigDecimal getSocialSecurityDebit() {
  383. return socialSecurityDebit;
  384. }
  385. public void setSocialSecurityDebit(java.math.BigDecimal socialSecurityDebit) {
  386. this.socialSecurityDebit = socialSecurityDebit;
  387. }
  388. public java.math.BigDecimal getProvidentFundDebit() {
  389. return providentFundDebit;
  390. }
  391. public void setProvidentFundDebit(java.math.BigDecimal providentFundDebit) {
  392. this.providentFundDebit = providentFundDebit;
  393. }
  394. public java.math.BigDecimal getPreTaxMone() {
  395. return preTaxMone;
  396. }
  397. public void setPreTaxMone(java.math.BigDecimal preTaxMone) {
  398. this.preTaxMone = preTaxMone;
  399. }
  400. public java.math.BigDecimal getOtherDebit() {
  401. return otherDebit;
  402. }
  403. public void setOtherDebit(java.math.BigDecimal otherDebit) {
  404. this.otherDebit = otherDebit;
  405. }
  406. public java.math.BigDecimal getTaxMoney() {
  407. return taxMoney;
  408. }
  409. public void setTaxMoney(java.math.BigDecimal taxMoney) {
  410. this.taxMoney = taxMoney;
  411. }
  412. public java.math.BigDecimal getActualMoney() {
  413. return actualMoney;
  414. }
  415. public void setActualMoney(java.math.BigDecimal actualMoney) {
  416. this.actualMoney = actualMoney;
  417. }
  418. public java.lang.String getStatus() {
  419. return status;
  420. }
  421. public void setStatus(java.lang.String status) {
  422. this.status = status;
  423. }
  424. public java.lang.String getRemark() {
  425. return remark;
  426. }
  427. public void setRemark(java.lang.String remark) {
  428. this.remark = remark;
  429. }
  430. public java.lang.String getUsername() {
  431. return username;
  432. }
  433. public void setUsername(java.lang.String username) {
  434. this.username = username;
  435. }
  436. public java.lang.String getRealname() {
  437. return realname;
  438. }
  439. public void setRealname(java.lang.String realname) {
  440. this.realname = realname;
  441. }
  442. @Override
  443. public int compareTo(UserWageDetaillsDto o) {
  444. if(o != null) {
  445. if(belongUnitName == null) {
  446. return -1;
  447. }
  448. if(belongUnitName.equals(o.getBelongUnitName())) {
  449. return otherCompared(o);
  450. }else {
  451. return belongUnitName.compareTo(o.getBelongUnitName());
  452. }
  453. }
  454. return 0;
  455. }
  456. private int otherCompared(UserWageDetaillsDto o) {
  457. if(duname != null && duname.equals(o.getDuname())) {
  458. if(username != null) {
  459. return username.compareTo(o.getUsername());
  460. }
  461. }else if(duname != null) {
  462. return duname.compareTo(o.getDuname());
  463. }
  464. return 0;
  465. }
  466. }