com.gitee.apanlh.annotation.valid.param.ValidEmpty Maven / Gradle / Ivy
package com.gitee.apanlh.annotation.valid.param;
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 Pan
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ValidEmpty {
String message() default "{javax.validation.constraints.NotNull.message}";
}