@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface Min
检查要验证的整数是否大于或等于指定的最小值
Modifier and Type | Required Element and Description |
---|---|
long |
value |
Modifier and Type | Optional Element and Description |
---|---|
String |
message |
ValidateProfile |
profile |
public abstract long value
public abstract String message
public abstract ValidateProfile profile
Copyright © 2016 huihoo. All rights reserved.