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

com.cmeza.sdgenerator.annotation.SDGenerator Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package com.cmeza.sdgenerator.annotation;

import com.cmeza.sdgenerator.SDGeneratorManager;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * Created by carlos on 08/04/17.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EntityScan
@Import(SDGeneratorManager.class)
public @interface SDGenerator {

    String repositoryPackage() default "";
    String repositoryPostfix() default "Repository";
    Class[] excludeRepositoriesClasses() default {};

    String managerPackage() default "";
    String managerPostfix() default "Manager";
    Class[] excludeManagerClasses() default {};

    @AliasFor(annotation = EntityScan.class, attribute = "basePackages")
    String[] entityPackage() default {};

    boolean debug() default false;

    boolean onlyAnnotations() default false;

    boolean overwrite() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy