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 DictExt {
|
|
/**
|
* 数据字典表
|
* @return
|
*/
|
String dicTable() default "";
|
|
/**
|
* 数据Text
|
* @return
|
*/
|
String dicText() default "";
|
|
/**
|
* 数据code数组
|
* @return
|
*/
|
String[] dicCode();
|
|
/**
|
* 数据参数数组,参数跟code数组一一对应
|
* @return
|
*/
|
String[] dicParams();
|
}
|