main
Last change
on this file since c3268ca was c3268ca, checked in by Stefan Risteski <stefanristeski2001@…>, 9 months ago |
Project
The whole Project
|
-
Property mode
set to
100644
|
File size:
473 bytes
|
Rev | Line | |
---|
[c3268ca] | 1 | package com.example.kvizko.repository;
|
---|
| 2 |
|
---|
| 3 | import com.example.kvizko.models.Choice;
|
---|
| 4 | import com.example.kvizko.models.Question;
|
---|
| 5 | import com.example.kvizko.models.Selectionquestion;
|
---|
| 6 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 7 | import org.springframework.stereotype.Repository;
|
---|
| 8 |
|
---|
| 9 | import java.util.List;
|
---|
| 10 |
|
---|
| 11 | @Repository
|
---|
| 12 | public interface ChoiceRepository extends JpaRepository<Choice, Long> {
|
---|
| 13 |
|
---|
| 14 | List<Choice> findAllBySelectionquestion_Questionid(Long questionId);
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.