|
|
|
|
1
|
package io.zipcoder.tc_spring_poll_application.repositories;
|
1
|
package io.zipcoder.tc_spring_poll_application.repositories;
|
2
|
|
2
|
|
|
|
3
|
+import io.zipcoder.tc_spring_poll_application.domain.Vote;
|
3
|
import org.springframework.data.repository.CrudRepository;
|
4
|
import org.springframework.data.repository.CrudRepository;
|
4
|
import org.springframework.stereotype.Repository;
|
5
|
import org.springframework.stereotype.Repository;
|
5
|
|
6
|
|
6
|
@Repository
|
7
|
@Repository
|
7
|
-public interface Vote extends CrudRepository<Vote, Long> {
|
|
|
|
|
8
|
+public interface VoteRepository extends CrudRepository<Vote, Long> {
|
8
|
}
|
9
|
}
|