|
|
@@ -8,6 +8,7 @@ import lombok.NoArgsConstructor;
|
|
|
import lombok.experimental.Accessors;
|
|
|
import org.springframework.data.annotation.Id;
|
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
+import org.springframework.data.mongodb.core.mapping.Field;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.Map;
|
|
|
@@ -23,35 +24,41 @@ public class EvalExamRecord {
|
|
|
* 记录Id
|
|
|
*/
|
|
|
@Id
|
|
|
+ @Field("record_id")
|
|
|
private Integer recordId;
|
|
|
|
|
|
/**
|
|
|
* 试卷Id
|
|
|
*/
|
|
|
@JSONField(name="exam_id")
|
|
|
+ @Field("exam_id")
|
|
|
private Integer examId;
|
|
|
|
|
|
/**
|
|
|
* 用户Id
|
|
|
*/
|
|
|
@JSONField(name="student_id")
|
|
|
+ @Field("student_id")
|
|
|
private Integer studentId;
|
|
|
|
|
|
/**
|
|
|
* 提交时间
|
|
|
*/
|
|
|
@JSONField(name="submit_time", format="yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Field("submit_time")
|
|
|
private Date submitTime;
|
|
|
|
|
|
/**
|
|
|
* 得分
|
|
|
*/
|
|
|
@JSONField(name="score")
|
|
|
+ @Field("score")
|
|
|
private Double score;
|
|
|
|
|
|
/**
|
|
|
* 得分
|
|
|
*/
|
|
|
@JSONField(name="error_ques")
|
|
|
+ @Field("error_ques")
|
|
|
private Map<Integer, Double> errorQuestions;
|
|
|
}
|