All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dengchen2020.mybatis.annotation.EnableMybatisRepositories Maven / Gradle / Ivy

The newest version!
package io.github.dengchen2020.mybatis.annotation;

import com.baomidou.mybatisplus.core.mapper.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import java.lang.annotation.*;

/**
 * 启用Mybatis存储库扫描注册
 * @author dengchen
 * @since 2024/6/22
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@MapperScans({@MapperScan(markerInterface = Mapper.class),@MapperScan(annotationClass = org.apache.ibatis.annotations.Mapper.class)})
public @interface EnableMybatisRepositories {



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy