|
|
@@ -1,25 +1,12 @@
|
|
|
-/*
|
|
|
- * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
|
|
- *
|
|
|
- * Redistribution and use in source and binary forms, with or without
|
|
|
- * modification, are permitted provided that the following conditions are met:
|
|
|
- *
|
|
|
- * Redistributions of source code must retain the above copyright notice,
|
|
|
- * this list of conditions and the following disclaimer.
|
|
|
- * Redistributions in binary form must reproduce the above copyright
|
|
|
- * notice, this list of conditions and the following disclaimer in the
|
|
|
- * documentation and/or other materials provided with the distribution.
|
|
|
- * Neither the name of the dreamlu.net developer nor the names of its
|
|
|
- * contributors may be used to endorse or promote products derived from
|
|
|
- * this software without specific prior written permission.
|
|
|
- * Author: Chill 庄骞 (smallchill@163.com)
|
|
|
- */
|
|
|
package org.springblade.salesPart.funding.entity;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
@@ -97,6 +84,7 @@ public class PjpfBalanceReset implements Serializable {
|
|
|
* 金额
|
|
|
*/
|
|
|
@ApiModelProperty(value = "金额")
|
|
|
+ @NotNull(message = "充值金额不允许为空")
|
|
|
private BigDecimal amount;
|
|
|
/**
|
|
|
* 状态
|
|
|
@@ -127,7 +115,16 @@ public class PjpfBalanceReset implements Serializable {
|
|
|
* 租户id
|
|
|
*/
|
|
|
@ApiModelProperty(value = "租户id")
|
|
|
+ @NotNull(message = "客户编码不允许为空")
|
|
|
+ @NotBlank(message = "客户编码不允许为空")
|
|
|
private String tenantId;
|
|
|
|
|
|
+ /**
|
|
|
+ * 业务发生日期
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "业务日期")
|
|
|
+ @NotNull(message = "充值时间不允许为空")
|
|
|
+ private Date businessDate;
|
|
|
+
|
|
|
|
|
|
}
|