diff --git a/src/main/java/cat/udl/eps/softarch/demo/repository/CatRepository.java b/src/main/java/cat/udl/eps/softarch/demo/repository/CatRepository.java new file mode 100644 index 0000000..48c8445 --- /dev/null +++ b/src/main/java/cat/udl/eps/softarch/demo/repository/CatRepository.java @@ -0,0 +1,8 @@ +package cat.udl.eps.softarch.demo.repository; + +import cat.udl.eps.softarch.demo.domain.Cat; +import org.springframework.data.repository.CrudRepository; +import org.springframework.data.repository.PagingAndSortingRepository; + +public interface CatRepository extends CrudRepository, PagingAndSortingRepository { +} diff --git a/src/main/java/cat/udl/eps/softarch/demo/repository/DogRepository.java b/src/main/java/cat/udl/eps/softarch/demo/repository/DogRepository.java new file mode 100644 index 0000000..5e83b4c --- /dev/null +++ b/src/main/java/cat/udl/eps/softarch/demo/repository/DogRepository.java @@ -0,0 +1,8 @@ +package cat.udl.eps.softarch.demo.repository; + +import cat.udl.eps.softarch.demo.domain.Dog; +import org.springframework.data.repository.CrudRepository; +import org.springframework.data.repository.PagingAndSortingRepository; + +public interface DogRepository extends CrudRepository, PagingAndSortingRepository { +} diff --git a/src/main/java/cat/udl/eps/softarch/demo/repository/PetRepository.java b/src/main/java/cat/udl/eps/softarch/demo/repository/PetRepository.java new file mode 100644 index 0000000..d7edc69 --- /dev/null +++ b/src/main/java/cat/udl/eps/softarch/demo/repository/PetRepository.java @@ -0,0 +1,8 @@ +package cat.udl.eps.softarch.demo.repository; + +import cat.udl.eps.softarch.demo.domain.Pet; +import org.springframework.data.repository.CrudRepository; +import org.springframework.data.repository.PagingAndSortingRepository; + +public interface PetRepository extends CrudRepository, PagingAndSortingRepository { +}