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

cn.tenfell.plugins.dbgenerate.annotation.EnableDbGenerate Maven / Gradle / Ivy

package cn.tenfell.plugins.dbgenerate.annotation;
import cn.tenfell.plugins.dbgenerate.component.DbGenerateRegistrar;
import cn.tenfell.plugins.dbgenerate.config.DatabaseGenerateConfiguration;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
/**
 * 开启注解
 * @author fs
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({DatabaseGenerateConfiguration.class, DbGenerateRegistrar.class})
public @interface EnableDbGenerate {
    /**
     * 需要扫描的包
     * @return 需要扫描的包
     */
    String[] beanPackages() default  {};

    /**
     * 操作密码
     * @return 操作密码
     */
    String password() default  "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy