From 10e03a60b9712e1564c952621d99bedce5844d65 Mon Sep 17 00:00:00 2001 From: chenlinghy Date: Wed, 16 Sep 2020 16:41:46 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=E5=A2=9E=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=B8=8D=E4=B8=BA=E7=A9=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/dto/protocol/device/manager/AddCapacityInfo.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/dispose/pojo/dto/protocol/device/manager/AddCapacityInfo.java b/src/main/java/com/dispose/pojo/dto/protocol/device/manager/AddCapacityInfo.java index 3903f777..99e06c9b 100644 --- a/src/main/java/com/dispose/pojo/dto/protocol/device/manager/AddCapacityInfo.java +++ b/src/main/java/com/dispose/pojo/dto/protocol/device/manager/AddCapacityInfo.java @@ -44,17 +44,20 @@ public class AddCapacityInfo { /** * The Ip type. */ + @NotNull(message = "ipType IP地址类型不能为空", groups = ValidGroups.AddDeviceValid.class) @ValidBaseEnum(enumClass = IpAddrType.class, groups = ValidGroups.AddDeviceValid.class) private Integer ipType; /** * The Protect ip. */ + @NotNull(message = "protectIp 处置IP不能为空", groups = ValidGroups.AddDeviceValid.class) @ValidIpSegment(message = "protectIp Ip地址格式错误", groups = ValidGroups.AddDeviceValid.class) private String protectIp; /** * The Reserve netflow. */ + @NotNull(message = "reserveNetflow 清洗储备流量不能为空", groups = ValidGroups.AddDeviceValid.class) private Integer reserveNetflow; }