小数
This commit is contained in:
+6
-9
@@ -16,10 +16,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* @Description: pay_income_contract
|
||||
@@ -108,7 +105,7 @@ public class PayIncomeContract implements Serializable {
|
||||
@Excel(name = "签订合同金额", width = 15)
|
||||
@ApiModelProperty(value = "签订合同金额")
|
||||
@NotNull(message = "签订合同金额不能为空!")
|
||||
@Max(value = 999999999,message = "签订合同金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "签订合同金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal contractAmount;
|
||||
/**税率*/
|
||||
@@ -122,7 +119,7 @@ public class PayIncomeContract implements Serializable {
|
||||
@Excel(name = "未税金额", width = 15)
|
||||
@ApiModelProperty(value = "未税金额")
|
||||
@NotNull(message = "未税金额不能为空!")
|
||||
@Max(value = 999999999,message = "未税金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "未税金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal noTaxAmount;
|
||||
/**合同签订日期*/
|
||||
@@ -146,20 +143,20 @@ public class PayIncomeContract implements Serializable {
|
||||
@Excel(name = "应收金额", width = 15)
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@NotNull(message = "应收金额不能为空!")
|
||||
@Max(value = 999999999,message = "应收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "应收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal accountsReceivableAmount;
|
||||
/**已收金额*/
|
||||
@Excel(name = "已收金额", width = 15)
|
||||
@ApiModelProperty(value = "已收金额")
|
||||
@NotNull(message = "已收金额不能为空!")
|
||||
@Max(value = 999999999,message = "已收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "已收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal amountReceived;
|
||||
/**未收金额*/
|
||||
@Excel(name = "未收金额", width = 15)
|
||||
@ApiModelProperty(value = "未收金额")
|
||||
@Max(value = 999999999,message = "未收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "未收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal outstandingAmount;
|
||||
/**账款状态(1:未支付,2:部分支付,3:已付全款)*/
|
||||
|
||||
+3
-6
@@ -15,10 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* @Description: pay_income_contract_installment
|
||||
@@ -53,7 +50,7 @@ public class PayIncomeContractInstallment implements Serializable {
|
||||
@Excel(name = "应收金额", width = 15)
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@NotNull(message = "应收金额不能为空")
|
||||
@Max(value = 999999999,message = "应收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "应收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal accountsReceivableAmount;
|
||||
/**应收时间*/
|
||||
@@ -65,7 +62,7 @@ public class PayIncomeContractInstallment implements Serializable {
|
||||
/**实收金额*/
|
||||
@Excel(name = "实收金额", width = 15)
|
||||
@ApiModelProperty(value = "实收金额")
|
||||
@Max(value = 999999999,message = "实收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "实收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal paidAmount;
|
||||
/**实收时间*/
|
||||
|
||||
+2
-5
@@ -16,10 +16,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* @Description: pay_spending_contract
|
||||
@@ -100,7 +97,7 @@ public class PaySpendingContract implements Serializable {
|
||||
@Excel(name = "签订合同总金额", width = 15)
|
||||
@ApiModelProperty(value = "签订合同总金额")
|
||||
@NotNull(message = "签订合同金额不能为空!")
|
||||
@Max(value = 999999999,message = "签订合同金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "签订合同金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal contractAmount;
|
||||
/**税率*/
|
||||
|
||||
+3
-6
@@ -15,10 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* @Description: pay_spending_contract_installment
|
||||
@@ -53,7 +50,7 @@ public class PaySpendingContractInstallment implements Serializable {
|
||||
@Excel(name = "应收金额", width = 15)
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@NotNull(message = "应收金额不能为空")
|
||||
@Max(value = 999999999,message = "应收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "应收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal accountsReceivableAmount;
|
||||
/**应收时间*/
|
||||
@@ -66,7 +63,7 @@ public class PaySpendingContractInstallment implements Serializable {
|
||||
@Excel(name = "实收金额", width = 15)
|
||||
@ApiModelProperty(value = "实收金额")
|
||||
@NotNull(message = "实收金额不能为空")
|
||||
@Max(value = 999999999,message = "应收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99",message = "应收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal paidAmount;
|
||||
/**实收时间*/
|
||||
|
||||
Reference in New Issue
Block a user