Add Pair annotation for custom validation of even numbers
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
package com.humanbooster.annotation;
|
||||||
|
|
||||||
|
public @interface Pair {
|
||||||
|
|
||||||
|
String message() default "Le nombre doit être pair";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user