|
@@ -3,6 +3,7 @@ package com.ym.mec.biz.dal.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
|
+import java.math.BigInteger;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Author Joburgess
|
|
* @Author Joburgess
|
|
@@ -11,16 +12,16 @@ import java.math.BigDecimal;
|
|
public class TeacherIncomeReviewDto {
|
|
public class TeacherIncomeReviewDto {
|
|
|
|
|
|
@ApiModelProperty(value = "总收入")
|
|
@ApiModelProperty(value = "总收入")
|
|
- private BigDecimal totalIncome = new BigDecimal("0");
|
|
|
|
|
|
+ private BigDecimal totalIncome = new BigDecimal(BigInteger.ZERO, 2);
|
|
|
|
|
|
@ApiModelProperty(value = "本月预计收入")
|
|
@ApiModelProperty(value = "本月预计收入")
|
|
- private BigDecimal thisMonthExpectIncome = new BigDecimal("0");
|
|
|
|
|
|
+ private BigDecimal thisMonthExpectIncome = new BigDecimal(BigInteger.ZERO, 2);
|
|
|
|
|
|
@ApiModelProperty(value = "本月实际课耗收入")
|
|
@ApiModelProperty(value = "本月实际课耗收入")
|
|
- private BigDecimal thisMonthActualIncome = new BigDecimal("0");
|
|
|
|
|
|
+ private BigDecimal thisMonthActualIncome = new BigDecimal(BigInteger.ZERO, 2);
|
|
|
|
|
|
@ApiModelProperty(value = "大雅课酬")
|
|
@ApiModelProperty(value = "大雅课酬")
|
|
- private BigDecimal dayaIncome = new BigDecimal("0");
|
|
|
|
|
|
+ private BigDecimal dayaIncome = new BigDecimal(BigInteger.ZERO, 2);
|
|
|
|
|
|
@ApiModelProperty(value = "其他课酬")
|
|
@ApiModelProperty(value = "其他课酬")
|
|
private BigDecimal otherIncome = new BigDecimal("0");
|
|
private BigDecimal otherIncome = new BigDecimal("0");
|
|
@@ -30,7 +31,7 @@ public class TeacherIncomeReviewDto {
|
|
}
|
|
}
|
|
|
|
|
|
public void setTotalIncome(BigDecimal totalIncome) {
|
|
public void setTotalIncome(BigDecimal totalIncome) {
|
|
- this.totalIncome = totalIncome;
|
|
|
|
|
|
+ this.totalIncome = totalIncome.setScale(2);
|
|
}
|
|
}
|
|
|
|
|
|
public BigDecimal getThisMonthExpectIncome() {
|
|
public BigDecimal getThisMonthExpectIncome() {
|
|
@@ -38,7 +39,7 @@ public class TeacherIncomeReviewDto {
|
|
}
|
|
}
|
|
|
|
|
|
public void setThisMonthExpectIncome(BigDecimal thisMonthExpectIncome) {
|
|
public void setThisMonthExpectIncome(BigDecimal thisMonthExpectIncome) {
|
|
- this.thisMonthExpectIncome = thisMonthExpectIncome;
|
|
|
|
|
|
+ this.thisMonthExpectIncome = thisMonthExpectIncome.setScale(2);
|
|
}
|
|
}
|
|
|
|
|
|
public BigDecimal getThisMonthActualIncome() {
|
|
public BigDecimal getThisMonthActualIncome() {
|
|
@@ -46,7 +47,7 @@ public class TeacherIncomeReviewDto {
|
|
}
|
|
}
|
|
|
|
|
|
public void setThisMonthActualIncome(BigDecimal thisMonthActualIncome) {
|
|
public void setThisMonthActualIncome(BigDecimal thisMonthActualIncome) {
|
|
- this.thisMonthActualIncome = thisMonthActualIncome;
|
|
|
|
|
|
+ this.thisMonthActualIncome = thisMonthActualIncome.setScale(2);
|
|
}
|
|
}
|
|
|
|
|
|
public BigDecimal getDayaIncome() {
|
|
public BigDecimal getDayaIncome() {
|
|
@@ -54,7 +55,7 @@ public class TeacherIncomeReviewDto {
|
|
}
|
|
}
|
|
|
|
|
|
public void setDayaIncome(BigDecimal dayaIncome) {
|
|
public void setDayaIncome(BigDecimal dayaIncome) {
|
|
- this.dayaIncome = dayaIncome;
|
|
|
|
|
|
+ this.dayaIncome = dayaIncome.setScale(2);
|
|
}
|
|
}
|
|
|
|
|
|
public BigDecimal getOtherIncome() {
|
|
public BigDecimal getOtherIncome() {
|
|
@@ -62,6 +63,6 @@ public class TeacherIncomeReviewDto {
|
|
}
|
|
}
|
|
|
|
|
|
public void setOtherIncome(BigDecimal otherIncome) {
|
|
public void setOtherIncome(BigDecimal otherIncome) {
|
|
- this.otherIncome = otherIncome;
|
|
|
|
|
|
+ this.otherIncome = otherIncome.setScale(2);
|
|
}
|
|
}
|
|
}
|
|
}
|