Changeset ab49338 for src/main/java/it/finki/charitable/repository
- Timestamp:
- 09/04/21 12:17:17 (3 years ago)
- Branches:
- master
- Children:
- 0f4f552
- Parents:
- 5306751
- Location:
- src/main/java/it/finki/charitable/repository
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/charitable/repository/DonationPostRepository.java
r5306751 rab49338 3 3 import it.finki.charitable.entities.AppUser; 4 4 import it.finki.charitable.entities.DonationPost; 5 import it.finki.charitable.entities.Moderator; 5 6 import org.springframework.data.jpa.repository.JpaRepository; 6 7 import org.springframework.stereotype.Repository; … … 12 13 List<DonationPost> findAllByUser(AppUser user); 13 14 List<DonationPost> findAllByApproved(Boolean approved); 15 List<DonationPost> findAllByModerator(Moderator moderator); 14 16 }
Note:
See TracChangeset
for help on using the changeset viewer.