小数
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.jero.mail.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
@@ -14,6 +16,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.DecimalMax;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @Description: pay_mail_bill
|
||||
* @Author: jeecg-boot
|
||||
@@ -51,11 +56,14 @@ public class PayMailBill implements Serializable {
|
||||
/**票号*/
|
||||
@Excel(name = "票号", width = 15)
|
||||
@ApiModelProperty(value = "票号")
|
||||
@NotNull(message = "票号不能为空")
|
||||
private java.lang.String billNo;
|
||||
/**开票金额*/
|
||||
@Excel(name = "开票金额", width = 15)
|
||||
@ApiModelProperty(value = "开票金额")
|
||||
private java.lang.Integer invoiceAmount;
|
||||
@NotNull(message = "开票金额不能为空")
|
||||
@DecimalMax(value = "9999999999.99", message = "开票金额格式错误")
|
||||
private BigDecimal invoiceAmount;
|
||||
/**邮寄状态(0:未邮寄,1::已邮寄)*/
|
||||
@Dict(dicCode = "mail_type")
|
||||
@Excel(name = "邮寄状态(0:未邮寄,1::已邮寄)", width = 15)
|
||||
@@ -82,6 +90,7 @@ public class PayMailBill implements Serializable {
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "开票时间")
|
||||
@NotNull(message = "开票时间不能为空")
|
||||
private java.util.Date billDate;
|
||||
/**邮寄时间*/
|
||||
@Excel(name = "邮寄时间", width = 15, format = "yyyy-MM-dd")
|
||||
@@ -94,11 +103,13 @@ public class PayMailBill implements Serializable {
|
||||
@ApiModelProperty(value = "备注")
|
||||
private java.lang.String remark;
|
||||
/**项目名称*/
|
||||
@Excel(name = "来款项目", width = 15)
|
||||
@Excel(name = "项目名称", width = 15)
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
@NotNull(message = "项目名称不能为空")
|
||||
private java.lang.String projectName;
|
||||
/**来款单位*/
|
||||
@Excel(name = "来款单位", width = 15)
|
||||
@ApiModelProperty(value = "来款单位")
|
||||
@NotNull(message = "来款单位不能为空")
|
||||
private java.lang.String chargeCompanyName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user