Annotation Type Mapper


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target({TYPE,METHOD,FIELD,PARAMETER})
    public @interface Mapper
    Marker interface for MyBatis mappers.

    How to use:

     @Mapper
     public interface UserMapper {
       // ...
     }