1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | package com.zy.common.model.annotations; 
 |    
 |  import java.lang.annotation.ElementType; 
 |  import java.lang.annotation.Retention; 
 |  import java.lang.annotation.RetentionPolicy; 
 |  import java.lang.annotation.Target; 
 |    
 |  /** 
 |   * 标识注解类 
 |   * @author vincent 
 |   */ 
 |  @Retention(RetentionPolicy.RUNTIME)  
 |  @Target({ElementType.FIELD,ElementType.TYPE,ElementType.METHOD})  
 |  public @interface bit { 
 |      int value(); 
 |  } 
 |  
  |