You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
585 B

package app.data.service;
import app.data.entity.SamplePerson;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.vaadin.artur.helpers.CrudService;
@Service
public class SamplePersonService extends CrudService<SamplePerson, Integer> {
private SamplePersonRepository repository;
public SamplePersonService(@Autowired SamplePersonRepository repository) {
this.repository = repository;
}
@Override
protected SamplePersonRepository getRepository() {
return repository;
}
}