From 698bb0e99fe7872c5a5dbf94400363f22ebc91e9 Mon Sep 17 00:00:00 2001 From: jieun Date: Tue, 20 Oct 2026 20:29:13 +0900 Subject: [PATCH] Add exam attempt history summary DTO --- .../web/rest/dto/ExamAttemptSummary.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/java/com/example/questionbank/web/rest/dto/ExamAttemptSummary.java diff --git a/src/main/java/com/example/questionbank/web/rest/dto/ExamAttemptSummary.java b/src/main/java/com/example/questionbank/web/rest/dto/ExamAttemptSummary.java new file mode 100644 index 0000000..c8935bb --- /dev/null +++ b/src/main/java/com/example/questionbank/web/rest/dto/ExamAttemptSummary.java @@ -0,0 +1,14 @@ +package com.example.questionbank.web.rest.dto; + +import com.example.questionbank.domain.enumeration.AttemptStatus; +import java.time.Instant; + +public record ExamAttemptSummary( + Long attemptId, + Long subjectId, + String subjectName, + Instant startedAt, + Instant submittedAt, + AttemptStatus status, + Integer score +) {}