diff --git a/hibernate-project/src/main/java/com/humanbooster/annotation/Pair.java b/hibernate-project/src/main/java/com/humanbooster/annotation/Pair.java new file mode 100644 index 0000000..ed1f41d --- /dev/null +++ b/hibernate-project/src/main/java/com/humanbooster/annotation/Pair.java @@ -0,0 +1,6 @@ +package com.humanbooster.annotation; + +public @interface Pair { + + String message() default "Le nombre doit ĂȘtre pair"; +}