|
|
@@ -18,10 +18,22 @@ public class QuizStudentAnswerVO {
|
|
|
private Long studentId;
|
|
|
private String studentName;
|
|
|
|
|
|
+ /**
|
|
|
+ * 回答情况
|
|
|
+ */
|
|
|
private Map<String, Object> answers;
|
|
|
|
|
|
- private LocalDateTime modifiedAt;
|
|
|
+ /**
|
|
|
+ * 提交时间
|
|
|
+ */
|
|
|
+ private LocalDateTime submitAt;
|
|
|
+ /**
|
|
|
+ * 已提交次数
|
|
|
+ */
|
|
|
private Integer submitNumber;
|
|
|
+ /**
|
|
|
+ * 自动化判分的分数
|
|
|
+ */
|
|
|
private BigDecimal score;
|
|
|
|
|
|
public QuizStudentAnswerVO(@NonNull QuizStudentAnswer quizStudentAnswer) {
|
|
|
@@ -30,7 +42,7 @@ public class QuizStudentAnswerVO {
|
|
|
this.studentId = quizStudentAnswer.getStudent().getId();
|
|
|
this.studentName = quizStudentAnswer.getStudent().getName();
|
|
|
this.answers = quizStudentAnswer.getAnswers();
|
|
|
- this.modifiedAt = quizStudentAnswer.getModifiedAt();
|
|
|
+ this.submitAt = quizStudentAnswer.getSubmitAt();
|
|
|
this.submitNumber = quizStudentAnswer.getSubmitNumber();
|
|
|
this.score = quizStudentAnswer.getScore();
|
|
|
}
|