28 lines
569 B
Java
28 lines
569 B
Java
package ink.wgink.annotation;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* When you feel like quitting. Think about why you started
|
|
* 当你想要放弃的时候,想想当初你为何开始
|
|
*
|
|
* @ClassName: CheckNullAnno
|
|
* @Description: 字段为空校验
|
|
* @Author: WangGeng
|
|
* @Date: 2019/11/14 11:31
|
|
* @Version: 1.0
|
|
**/
|
|
@Documented
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target({ElementType.FIELD})
|
|
public @interface CheckNullAnnotation {
|
|
|
|
String name();
|
|
|
|
String value() default "";
|
|
|
|
String description() default "";
|
|
|
|
String[] types() default {};
|
|
}
|