Skip to content

Commit

Permalink
Implemented respositories. closes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyanshu-git committed May 31, 2021
1 parent e0b3f09 commit 7637eac
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package spring.framework.petclinic.repositories;

import org.springframework.data.repository.CrudRepository;
import spring.framework.petclinic.model.Owner;

public interface OwnerRepository extends CrudRepository<Owner, Long> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package spring.framework.petclinic.repositories;

import org.springframework.data.repository.CrudRepository;
import spring.framework.petclinic.model.Pet;

public interface PetRepository extends CrudRepository<Pet, Long> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package spring.framework.petclinic.repositories;

import org.springframework.data.repository.CrudRepository;
import spring.framework.petclinic.model.PetType;

public interface PetTypeRepository extends CrudRepository<PetType, Long> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package spring.framework.petclinic.repositories;

import org.springframework.data.repository.CrudRepository;
import spring.framework.petclinic.model.Speciality;

public interface SpecialityRepository extends CrudRepository<Speciality, Long> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package spring.framework.petclinic.repositories;

import org.springframework.data.repository.CrudRepository;
import spring.framework.petclinic.model.Vet;

public interface VetRepository extends CrudRepository<Vet, Long> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package spring.framework.petclinic.repositories;

import org.springframework.data.repository.CrudRepository;
import spring.framework.petclinic.model.Visit;

public interface VisitRepository extends CrudRepository<Visit, Long> {
}

0 comments on commit 7637eac

Please sign in to comment.