All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thebund1st.daming.validation.ValidMobilePhoneNumber Maven / Gradle / Ivy

package com.thebund1st.daming.validation;

import com.thebund1st.daming.validation.validators.MobilePhoneNumberValidator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Documented
@Constraint(validatedBy = {MobilePhoneNumberValidator.class})
@Target({FIELD})
@Retention(RUNTIME)
public @interface ValidMobilePhoneNumber {

    String message() default "";

    Class[] groups() default {};

    Class[] payload() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy