zhangherong
2025-07-03 c82b14f3a882698cbca62ef168615d31711320ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package org.jeecg.common.aspect.annotation;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 字典注解
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldQuery{
    /**
     * 关联数据表
     * @return
     */
    String dicTable() default "";
 
    /**
     * 数据Text
     * @return
     */
    String dicText() default "";
 
    /**
     * 数据code数组
     * @return
     */
    String[] dicCode();
 
    /**
     * 数据参数数组,参数跟code数组一一对应
     * @return
     */
    String[] dicParams();
}