package com.cf.imes.module.executor.validation.manage.placeStyle;


import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 放置样式校验注解
 */
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = PlaceStyleValidator.class)
@Documented
public @interface ValidPlaceStyle {

    String message() default " 放置样式不合法，0正面，1正面右转，2正面后转，3正面左转，4反面，5反面右转，6反面后转，7反面左转";

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

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

}
