|
|
@@ -6,6 +6,8 @@ import org.hibernate.validator.constraints.Length;
|
|
|
import lombok.Data;
|
|
|
import com.yunfeiyun.agmp.common.annotation.Excel;
|
|
|
|
|
|
+import javax.validation.constraints.Digits;
|
|
|
+
|
|
|
/**
|
|
|
* 告警配置对象 IotWarnconfig
|
|
|
*
|
|
|
@@ -50,7 +52,7 @@ public class IotWarnconfig extends IotBaseEntity {
|
|
|
@Length(max = 36,message = "设备类型最大长度为1")
|
|
|
private String devtypeBid;
|
|
|
|
|
|
- @Length(max = 1000, message = "重复次数最大长度为1000")
|
|
|
+ @Digits(integer = 1000,fraction = 0,message = "重复次数整数部分最大长度为1000")
|
|
|
private Integer wcRepeatnum;
|
|
|
|
|
|
/** 创建人 */
|