Annotation Type UniqueUsername
-
@Constraint(validatedBy=UniqueUsernameValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface UniqueUsername
Annotation to checking username uniqueness
@Constraint(validatedBy=UniqueUsernameValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface UniqueUsername