Dictionary.java
614 Bytes
package cn.com.glsx.entmicro.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* 字典标记
*
* @author zhouhaibao
* @date 2021/09/06 13:52
*/
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD})
@Documented
public @interface Dictionary {
/**
* 字典类型
*
* @return
*/
String dicttype() default "";
/**
* 设置字典字段
*
* @return
*/
String dictvalue() default "";
}