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


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;

/**
 * @author 包裹类型校验注解
 */
@Target({
        ElementType.FIELD,
})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(
        validatedBy = {PackTypeValidator.class}
)
public @interface PackTypeValid {

    String message() default "包裹类型不合法";

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

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



}
