com.yqjr.framework.annotation.Dict Maven / Gradle / Ivy
/**
*
*/
package com.yqjr.framework.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* ClassName: Dict
* Description: 数据字典注解,用于在Bean拷贝时实现数据字典转换
* Create By: admin
* Create Date: 2017年5月4日 上午9:43:09
* Modified By:
* Modified Date:
* Modified Content:
* Version: 1.0
*/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Dict {
/**
* Description: 字典名称
* Create By: admin
* Create Date: 2017年5月4日 上午9:49:40
*
* @return 字典名称
*/
String name();
}