|
@@ -3,8 +3,8 @@
|
|
|
*/
|
|
*/
|
|
|
package com.jeeplus.modules.hpuser.entity;
|
|
package com.jeeplus.modules.hpuser.entity;
|
|
|
|
|
|
|
|
-import java.math.BigDecimal;
|
|
|
|
|
-import java.util.Date;
|
|
|
|
|
|
|
+import org.hibernate.validator.constraints.Length;
|
|
|
|
|
+
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
|
|
import com.jeeplus.core.persistence.DataEntity;
|
|
import com.jeeplus.core.persistence.DataEntity;
|
|
@@ -23,6 +23,7 @@ public class HpPayroll extends DataEntity<HpPayroll> {
|
|
|
private String idCardNumber; // 身份证号
|
|
private String idCardNumber; // 身份证号
|
|
|
private String workNumber; // 工号
|
|
private String workNumber; // 工号
|
|
|
private String companyName; // 公司名称
|
|
private String companyName; // 公司名称
|
|
|
|
|
+ private String supplier; // 供应商
|
|
|
private String payrollDate; // 工资月份
|
|
private String payrollDate; // 工资月份
|
|
|
private Double grossPayment; // 应发工资
|
|
private Double grossPayment; // 应发工资
|
|
|
private Double totalChargeback; // 扣款合计
|
|
private Double totalChargeback; // 扣款合计
|
|
@@ -72,13 +73,22 @@ public class HpPayroll extends DataEntity<HpPayroll> {
|
|
|
public String getCompanyName() {
|
|
public String getCompanyName() {
|
|
|
return companyName;
|
|
return companyName;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @ExcelField(title="供应商", align=2, sort=5)
|
|
|
|
|
+ public String getSupplier() {
|
|
|
|
|
+ return supplier;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setSupplier(String supplier) {
|
|
|
|
|
+ this.supplier = supplier;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
public void setCompanyName(String companyName) {
|
|
public void setCompanyName(String companyName) {
|
|
|
this.companyName = companyName;
|
|
this.companyName = companyName;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @ExcelField(title="工资月份", align=2, sort=5)
|
|
|
|
|
|
|
+ @ExcelField(title="工资月份", align=2, sort=6)
|
|
|
public String getPayrollDate() {
|
|
public String getPayrollDate() {
|
|
|
return payrollDate;
|
|
return payrollDate;
|
|
|
}
|
|
}
|
|
@@ -87,7 +97,7 @@ public class HpPayroll extends DataEntity<HpPayroll> {
|
|
|
this.payrollDate = payrollDate;
|
|
this.payrollDate = payrollDate;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ExcelField(title="应发工资", align=2, sort=6)
|
|
|
|
|
|
|
+ @ExcelField(title="应发工资", align=2, sort=7)
|
|
|
public Double getGrossPayment() {
|
|
public Double getGrossPayment() {
|
|
|
return grossPayment;
|
|
return grossPayment;
|
|
|
}
|
|
}
|
|
@@ -96,7 +106,7 @@ public class HpPayroll extends DataEntity<HpPayroll> {
|
|
|
this.grossPayment = grossPayment;
|
|
this.grossPayment = grossPayment;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ExcelField(title="扣款合计", align=2, sort=7)
|
|
|
|
|
|
|
+ @ExcelField(title="扣款合计", align=2, sort=8)
|
|
|
public Double getTotalChargeback() {
|
|
public Double getTotalChargeback() {
|
|
|
return totalChargeback;
|
|
return totalChargeback;
|
|
|
}
|
|
}
|
|
@@ -105,7 +115,7 @@ public class HpPayroll extends DataEntity<HpPayroll> {
|
|
|
this.totalChargeback = totalChargeback;
|
|
this.totalChargeback = totalChargeback;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ExcelField(title="实发工资", align=2, sort=8)
|
|
|
|
|
|
|
+ @ExcelField(title="实发工资", align=2, sort=9)
|
|
|
public Double getNetPayment() {
|
|
public Double getNetPayment() {
|
|
|
return netPayment;
|
|
return netPayment;
|
|
|
}
|
|
}
|
|
@@ -114,7 +124,7 @@ public class HpPayroll extends DataEntity<HpPayroll> {
|
|
|
this.netPayment = netPayment;
|
|
this.netPayment = netPayment;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ExcelField(title="额外信息", align=2, sort=9)
|
|
|
|
|
|
|
+ @ExcelField(title="额外信息", align=2, sort=10)
|
|
|
public String getPayrollDetail() {
|
|
public String getPayrollDetail() {
|
|
|
return payrollDetail;
|
|
return payrollDetail;
|
|
|
}
|
|
}
|