@Retention(value=RUNTIME)
@Target(value=FIELD)
public static @interface ExcelCell.Valid
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
allowNull
是否允许为空,用于验证数据 default true
|
double |
ge
Apply a "greater than or equal" constraint to the named property , equivalent ">="
|
double |
gt
Apply a "greater than" constraint to the named property , equivalent ">"
|
java.lang.String[] |
in
必须与in中String相符,目前仅支持String类型
|
double |
le
Apply a "less than or equal" constraint to the named property , equivalent "<="
|
double |
lt
Apply a "less than" constraint to the named property , equivalent "<"
|
public abstract java.lang.String[] in
public abstract double gt
public abstract double lt