source: src/main/java/it/finki/charitable/repository/ReportPostRepository.java

Last change on this file was 0c37625, checked in by NikolaCenevski <cenevskinikola@…>, 3 years ago

Moderator pagination

  • Property mode set to 100644
File size: 495 bytes
Line 
1package it.finki.charitable.repository;
2
3import it.finki.charitable.entities.DonationPost;
4import it.finki.charitable.entities.ReportPost;
5import org.springframework.data.domain.Page;
6import org.springframework.data.domain.Pageable;
7import org.springframework.data.jpa.repository.JpaRepository;
8import org.springframework.stereotype.Repository;
9
10@Repository
11public interface ReportPostRepository extends JpaRepository<ReportPost, Long> {
12
13 ReportPost findByDonationPost(DonationPost post);
14}
Note: See TracBrowser for help on using the repository browser.