cn.khthink.easyapi.annotation.kit.database.Mybatis Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of EasyApi Show documentation
Show all versions of EasyApi Show documentation
A RESTFUL Framework for JavaWeb
The newest version!
package cn.khthink.easyapi.annotation.kit.database;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Mybatis {
/**
* 开启mybatis
*
* @return boolean
*/
boolean enable() default true;
/**
* 配置文件
*
* @return String
*/
String config() default "";
/**
* mappers包名
*
* @return String数组
*/
String[] mappers() default {};
}