|
@@ -11,6 +11,7 @@ import com.xy.utils.PageBean;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
import javax.validation.constraints.NotEmpty;
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -30,15 +31,15 @@ public class DeviceAdminActivateDto {
|
|
|
@ApiModelProperty(value = "设备id", required = true)
|
|
|
private List<Long> deviceId;
|
|
|
|
|
|
- @NotEmpty(message = "deviceChargingDay不能为空")
|
|
|
+ @NotNull(message = "deviceChargingDay不能为空")
|
|
|
@ApiModelProperty(value = "管理费天数", required = true)
|
|
|
private Integer deviceChargingDay;
|
|
|
|
|
|
- @NotEmpty(message = "algorithmId不能为空")
|
|
|
+ @NotNull(message = "algorithmId不能为空")
|
|
|
@ApiModelProperty(value = "算法id", required = true)
|
|
|
private Long algorithmId;
|
|
|
|
|
|
- @NotEmpty(message = "deviceAlgorithmChargingSize不能为空")
|
|
|
+ @NotNull(message = "deviceAlgorithmChargingSize不能为空")
|
|
|
@ApiModelProperty(value = "卡包条数", required = true)
|
|
|
private Integer deviceAlgorithmChargingSize;
|
|
|
|