-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented respositories. closes #39
- Loading branch information
1 parent
e0b3f09
commit 7637eac
Showing
6 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
pet-clinic-data/src/main/java/spring/framework/petclinic/repositories/OwnerRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { | ||
} |
7 changes: 7 additions & 0 deletions
7
pet-clinic-data/src/main/java/spring/framework/petclinic/repositories/PetRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { | ||
} |
7 changes: 7 additions & 0 deletions
7
pet-clinic-data/src/main/java/spring/framework/petclinic/repositories/PetTypeRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { | ||
} |
7 changes: 7 additions & 0 deletions
7
...inic-data/src/main/java/spring/framework/petclinic/repositories/SpecialityRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { | ||
} |
7 changes: 7 additions & 0 deletions
7
pet-clinic-data/src/main/java/spring/framework/petclinic/repositories/VetRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { | ||
} |
7 changes: 7 additions & 0 deletions
7
pet-clinic-data/src/main/java/spring/framework/petclinic/repositories/VisitRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { | ||
} |