Dict.java 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package org.jeecg.common.aspect.annotation;
  2. import java.lang.annotation.ElementType;
  3. import java.lang.annotation.Retention;
  4. import java.lang.annotation.RetentionPolicy;
  5. import java.lang.annotation.Target;
  6. /**
  7. * 字典注解
  8. * @author: dangzhenghui
  9. * @date: 2019年03月17日-下午9:37:16
  10. */
  11. @Target(ElementType.FIELD)
  12. @Retention(RetentionPolicy.RUNTIME)
  13. public @interface Dict {
  14. /**
  15. * 方法描述: 数据code
  16. * 作 者: dangzhenghui
  17. * 日 期: 2019年03月17日-下午9:37:16
  18. *
  19. * @return 返回类型: String
  20. */
  21. String dicCode();
  22. /**
  23. * 方法描述: 数据Text
  24. * 作 者: dangzhenghui
  25. * 日 期: 2019年03月17日-下午9:37:16
  26. *
  27. * @return 返回类型: String
  28. */
  29. String dicText() default "";
  30. /**
  31. * 方法描述: 数据字典表
  32. * 作 者: dangzhenghui
  33. * 日 期: 2019年03月17日-下午9:37:16
  34. *
  35. * @return 返回类型: String
  36. */
  37. String dictTable() default "";
  38. }