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

cn.khthink.easyapi.annotation.kit.database.Mybatis Maven / Gradle / Ivy

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 {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy