1、@Constraint(validatedBy = EnumValidator.class) 中的validatedBy指定的是@Enum 这个注解交由那个类去校验。 2、Class<?> value() 表示需要这个 ...
確定! 回上一頁