BizTracing.java 465 B

1234567891011121314151617181920212223242526272829
  1. package cn.iocoder.dashboard.common.annotation;
  2. import java.lang.annotation.*;
  3. @Target({ElementType.METHOD})
  4. @Retention(RetentionPolicy.RUNTIME)
  5. @Inherited
  6. /**
  7. * 打印业务流水号/业务类型注解
  8. *
  9. * @author 麻薯
  10. */
  11. public @interface BizTracing {
  12. /**
  13. * 交易流水tag名
  14. */
  15. String BIZ_ID_TAG = "bizId";
  16. /**
  17. * 交易类型tag名
  18. */
  19. String BIZ_TYPE_TAG = "bizType";
  20. String bizId();
  21. String bizType();
  22. }