package cn.com.goldenwater.dcproj.target; import java.lang.annotation.*; /** * @author 81299 * 该注解主要用来检验in 操作的参数,在mybatis中采用 in (${value}) 方式处理 * */ @Target({ElementType.FIELD, ElementType.PARAMETER}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface ValidInValue { String msg() default "字段不能包含特殊字符"; }