Ignore:
Timestamp:
09/04/21 12:17:17 (3 years ago)
Author:
KostaFortumanov <kfortumanov@…>
Branches:
master
Children:
0f4f552
Parents:
5306751
Message:

Dodadeno prijavuvanje na objavi

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  
    33import it.finki.charitable.entities.AppUser;
    44import it.finki.charitable.entities.DonationPost;
     5import it.finki.charitable.entities.Moderator;
    56import org.springframework.data.jpa.repository.JpaRepository;
    67import org.springframework.stereotype.Repository;
     
    1213    List<DonationPost> findAllByUser(AppUser user);
    1314    List<DonationPost> findAllByApproved(Boolean approved);
     15    List<DonationPost> findAllByModerator(Moderator moderator);
    1416}
Note: See TracChangeset for help on using the changeset viewer.