feat: add poll vote repository

This commit is contained in:
Tim
2025-08-30 12:06:11 +08:00
parent 5adee4db0e
commit 569531b462
5 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package com.openisle.repository;
import com.openisle.model.PollVote;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface PollVoteRepository extends JpaRepository<PollVote, Long> {
List<PollVote> findByPostId(Long postId);
}