Add exam question and choice view DTOs

This commit is contained in:
jieun committed 2026-10-20 20:20:06 +09:00
1 parent 123261aad3
commit e8de49732b
2 files changed
+10

No files matched your search

@@ -0,0 +1,5 @@
package com.example.questionbank.web.rest.dto;
import com.example.questionbank.domain.enumeration.OptionKey;
public record ChoiceView(OptionKey optionKey, String content, Integer displayOrder) {}
@@ -0,0 +1,5 @@
package com.example.questionbank.web.rest.dto;
import java.util.List;
public record ExamQuestionView(Long questionId, String prompt, List<ChoiceView> choices) {}