package de.oaa.xxx.games.chastity.community;

import java.util.List;
import java.util.UUID;

import org.springframework.data.jpa.repository.JpaRepository;

public interface CommunityVerificationVoteRepository extends JpaRepository<CommunityVerificationVoteEntity, UUID> {
	
    List<CommunityVerificationVoteEntity> findAllByVerificationId(UUID verificationId);

    java.util.Optional<CommunityVerificationVoteEntity> findByVerificationIdAndUserId(UUID verificationId, UUID userId);

	void deleteAllByVerificationId(UUID verificationId);
}


