Add exam start request and response DTOs
This commit is contained in:
1 parent
1ed458a9c1
commit
123261aad3
2 files changed
+10
No files matched your search
@@ -0,0 +1,5 @@
|
||||
package com.example.questionbank.web.rest.dto;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
public record ExamAttemptStartResult(Long attemptId, Instant startedAt) {}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.example.questionbank.web.rest.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
public record StartExamRequest(@NotNull Long subjectId) {}
|
||||
Reference in new issue
Block a user