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";
|
}
|