|
|
@@ -8,6 +8,7 @@ import lombok.experimental.Accessors;
|
|
|
import org.springframework.data.annotation.Id;
|
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@Document(collection = "exam_info")
|
|
|
@@ -26,7 +27,7 @@ public class EvalExamInfo {
|
|
|
/**
|
|
|
* 试卷总分
|
|
|
*/
|
|
|
- private double examScore;
|
|
|
+ private Double examScore;
|
|
|
|
|
|
/**
|
|
|
* 试题id及分值
|
|
|
@@ -41,15 +42,15 @@ public class EvalExamInfo {
|
|
|
/**
|
|
|
* 试卷更新时间
|
|
|
*/
|
|
|
- private String updateTime;
|
|
|
+ private Date updateTime;
|
|
|
|
|
|
/**
|
|
|
* 考试开始时间
|
|
|
*/
|
|
|
- private String startTime;
|
|
|
+ private Date startTime;
|
|
|
|
|
|
/**
|
|
|
* 考试结束时间
|
|
|
*/
|
|
|
- private String endTime;
|
|
|
+ private Date endTime;
|
|
|
}
|