Add exam attempt history summary DTO
This commit is contained in:
1 parent
3c0455bff7
commit
698bb0e99f
1 file changed
+14
@@ -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
|
||||||
|
) {}
|
||||||
Reference in new issue
Block a user