This commit is contained in:
HuangXin 2020-09-16 17:14:16 +08:00
commit d55916fdf0
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}