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

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

package com.thebund1st.daming.validation;

import com.thebund1st.daming.validation.validators.SmsVerificationCodeValidator;
import com.thebund1st.daming.validation.validators.SmsVerificationScopeValidator;

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 = {SmsVerificationScopeValidator.class})
@Target({FIELD})
@Retention(RUNTIME)
public @interface ValidSmsVerificationScope {

    String message() default "";

    Class[] groups() default {};

    Class[] payload() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy