1
2
3
4
5 package gboat2.base.core.annotation;
6
7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
11
12
13
14
15
16
17
18
19 @Retention(RetentionPolicy.RUNTIME)
20 @Target( { ElementType.TYPE, ElementType.FIELD, ElementType.ANNOTATION_TYPE })
21 public @interface Field {
22
23
24
25
26 Class<?> clazz();
27
28
29
30
31 String column() default "";
32
33
34
35
36 boolean query() default true;
37 }