田源
2025-01-16 a13255b4129ee8a7a7b7e1ecd8e02dd2c78f7c17
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
38
39
40
41
42
43
44
package com.vci.starter.web.annotation.config;
 
import org.springframework.core.annotation.AliasFor;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 配置项的选择页面配置
 * @author weidy
 * @date 2020/2/5
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface VciConfigFieldSelect {
 
    /**
     * 显示的Url的值
     * @return
     */
    @AliasFor("url")
    String value();
 
    /**
     * 显示选择值的url
     * @return
     */
    @AliasFor("url")
    String url();
 
    /**
     * 值的字段
     * @return
     */
    String valueField() default "oid";
 
    /**
     * 显示的字段
     * @return
     */
    String textField() default "name";
}