Skip to content

Commit

Permalink
Merge pull request #101 from UdL-EPS-SoftArch/crud-Shelter
Browse files Browse the repository at this point in the history
Crud shelter
  • Loading branch information
rogargon authored May 19, 2024
2 parents 466e3b2 + 7a41e8f commit 912f837
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
@RepositoryRestResource
public interface ShelterRepository extends CrudRepository<Shelter, Long>, PagingAndSortingRepository<Shelter, Long> {
List<Shelter> findByName(@Param("name") String name);
List<Shelter> findByEmail(@Param("email") String email);
List<Shelter> findByMobile(@Param("mobile") String mobile);
List<Shelter> findByLocatedAt(@Param("location") Location location);
}

0 comments on commit 912f837

Please sign in to comment.