liurunyu
2025-06-18 61ab3cc7c2fc0b5e8b9fa78f47e427761e1ad61e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.dy.common.mw.protocol;
 
import java.lang.annotation.*;
 
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface AnnotationDriver {
    /**
     * 协议名称,各个协议名称不能有重复现象
     */
    String name() default "" ;
 
    /**
     * 协议版本号
     */
    short version() default -1 ;
 
    boolean enable() default true ;
}