@@ -0,0 +1,795 @@
+package bg.car_wash.areas.customer.annotation;%0A%0Aimport bg.car_wash.areas.customer.annotation.validation.CustomerPhoneNumberValidator;%0A%0Aimport javax.validation.Constraint;%0Aimport javax.validation.Payload;%0Aimport java.lang.annotation.Documented;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.Target;%0A%0Aimport static java.lang.annotation.ElementType.*;%0Aimport static java.lang.annotation.RetentionPolicy.RUNTIME;%0A%0A@Target(%7BTYPE, FIELD, ANNOTATION_TYPE%7D)%0A@Retention(RUNTIME)%0A@Constraint(validatedBy = CustomerPhoneNumberValidator.class)%0A@Documented%0Apublic @interface ValidCustomerPhoneNumber %7B%0A%09String message() default %22This phone number is not valid! Phone number like: '+359 111 222 333'!%22;%0A%09Class%3C?%3E%5B%5D groups() default %7B%7D;%0A%09Class%3C? extends Payload%3E%5B%5D payload() default %7B%7D;%0A%7D%0A

create validation for phone number