SysProtocol.java 430 B

123456789101112131415161718192021
  1. package com.fastbee.common.annotation;
  2. import java.lang.annotation.*;
  3. /**
  4. * 表示系统内部协议解析器
  5. * @author gsb
  6. * @date 2022/10/24 10:33
  7. */
  8. @Target(ElementType.TYPE)
  9. @Retention(RetentionPolicy.RUNTIME)
  10. @Documented
  11. public @interface SysProtocol {
  12. /*协议名*/
  13. String name() default "";
  14. /*协议编码*/
  15. String protocolCode() default "";
  16. //协议描述
  17. String description() default "";
  18. }