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

code-generator-template.service.tpl Maven / Gradle / Ivy

Go to download

This is a starter for creating a project quickly. There are some conventions when importing this starter, configuration could change those behaviors.

The newest version!
package ${projectBasePackage}.service;

import ${projectBasePackage}.entity.${entityName};
import com.lephix.easy.mvc.AbstractEasyRepository;
import com.lephix.easy.mvc.AbstractEasyService;
import ${projectBasePackage}.repository.${entityName}Repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ${entityName}Service extends AbstractEasyService<${entityName}> {

    @Autowired
    private ${entityName}Repository repository;

    @Override
    public AbstractEasyRepository<${entityName}> getRepository() {
        return repository;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy