Skip to content

Commit

Permalink
Merge pull request #25 from UdL-EPS-SoftArch/feat/invite
Browse files Browse the repository at this point in the history
InviteRepository created
  • Loading branch information
rogargon authored Feb 23, 2025
2 parents 5485ae8 + 226c718 commit ec9a4ca
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package cat.udl.eps.softarch.tfgfinder.repository;

import cat.udl.eps.softarch.tfgfinder.domain.Invite;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;

import java.time.ZonedDateTime;
import java.util.List;

public interface InviteRepository extends CrudRepository<Invite, Long>, PagingAndSortingRepository<Invite, Long> {
List<Invite> findByWhen(@Param("when") ZonedDateTime when);
List<Invite> findByStatus(@Param("status") String status);
}

0 comments on commit ec9a4ca

Please sign in to comment.