package com.ejie.y42b.validation;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;

@Target({ METHOD, FIELD, ANNOTATION_TYPE })
@Retention(RUNTIME)
@Constraint(validatedBy = Y42bCifValidator.class)
@Documented
public @interface Y42bCif {

	String message() default "validacion.cif";

	Class<?>[] groups() default {};

	Class<? extends Payload>[] payload() default {};

}