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 | |
---|
1 | package it.finki.charitable.repository;
|
---|
2 |
|
---|
3 | import it.finki.charitable.entities.DonationPost;
|
---|
4 | import it.finki.charitable.entities.ReportPost;
|
---|
5 | import org.springframework.data.domain.Page;
|
---|
6 | import org.springframework.data.domain.Pageable;
|
---|
7 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
8 | import org.springframework.stereotype.Repository;
|
---|
9 |
|
---|
10 | @Repository
|
---|
11 | public interface ReportPostRepository extends JpaRepository<ReportPost, Long> {
|
---|
12 |
|
---|
13 | ReportPost findByDonationPost(DonationPost post);
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.