Annotation Type PngJpgFile
-
@Constraint(validatedBy=PngJpgFileValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface PngJpgFile
Annotation to check right attachment type
@Constraint(validatedBy=PngJpgFileValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface PngJpgFile