Skip to content

Commit

Permalink
implemented missing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Antt02 committed Mar 13, 2024
1 parent 4ba1cfa commit 6707b06
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
public interface PetRepository extends CrudRepository<Pet, Long>, PagingAndSortingRepository<Pet, Long> {
List<Pet> findBySize(@Param("size") String size);
List<Pet> findByName(@Param("name") String name);
List<Pet> findByIsAdopted(@Param("isAdopted") Boolean isAdopted);
List<Pet> findByBreed(@Param("breed") String breed);
//Pet findByShelter(@Param("id") Long shelterId);

}

0 comments on commit 6707b06

Please sign in to comment.