templates.es.business.hbs Maven / Gradle / Ivy
package {{config.packageName}}{{viewModifier}}.business;
{{> [header-comment.java]}}
import {{config.packageName}}{{viewModifier}}.pojo.{{pojoClassName}};
import {{config.packageName}}{{viewModifier}}.dal.{{pojoClassName}}List;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import javax.annotation.processing.Generated;
import java.util.Map;
@Generated("com.github.yujiaao:tablegen")
@Repository
public class {{className}} extends {{pojoClassName}}List
{
/**
* the ds map must contain host/url, index_name, username and password for ElasticSearch/HTTP connection
*/
protected {{className}}(@Qualifier("{{config.alias}}") Map ds)
{
super(ds);
}
// please write your code here!
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy