Add Pair annotation for custom validation of even numbers

This commit is contained in:
Vincent Guillet
2025-05-20 13:44:10 +02:00
parent 5de8594095
commit 7f3157b7a2

View File

@@ -0,0 +1,6 @@
package com.humanbooster.annotation;
public @interface Pair {
String message() default "Le nombre doit être pair";
}