UserWageDto.java 14 KB

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