批注类型 IDCard
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy=IDCardValidator.class)
public @interface IDCard
- 作者:
- Kerbores(kerbores@riemann.tech)
-
可选元素概要
可选元素
-
元素详细资料
-
required
boolean required- 默认值:
true
-
message
- 默认值:
"\u8eab\u4efd\u8bc1\u53f7\u7801\u683c\u5f0f\u9519\u8bef"
-
groups
- 默认值:
{}
-
payload
@AliasFor(annotation=javax.validation.constraints.Pattern.class) Class<? extends javax.validation.Payload>[] payload- 默认值:
{}
-