ADD MAPPING
This commit is contained in:
Vu Tuan Minh
2025-10-01 13:32:45 +02:00
parent f4c990c0fb
commit bd301f169d
17 changed files with 110 additions and 49 deletions

View File

@@ -27,8 +27,4 @@ public class Quizz implements Serializable {
@OneToMany(mappedBy = "quizz")
private List<Question> questions=new ArrayList<Question>();
public void addQuestion(Question question) {
this.questions.add(question);
}
}