package de.oaa.xxx.games.vanilla.repository;
import de.oaa.xxx.games.vanilla.entity.VanillaEinladungEntity;
import de.oaa.xxx.games.vanilla.entity.VanillaEinladungEntity.Status;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.UUID;
public interface VanillaEinladungRepository extends JpaRepository<VanillaEinladungEntity, UUID> {
    List<VanillaEinladungEntity> findBySetupId(UUID setupId);
    List<VanillaEinladungEntity> findByInviteeIdAndStatus(UUID inviteeId, Status status);
    List<VanillaEinladungEntity> findByInviterIdAndStatus(UUID inviterId, Status status);
}
