EvalExamInfo.java 965 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package com.seecoder.dataanalysis.data.entity.eval;
  2. import lombok.AllArgsConstructor;
  3. import lombok.Data;
  4. import lombok.NoArgsConstructor;
  5. import lombok.experimental.Accessors;
  6. import org.springframework.data.annotation.Id;
  7. import org.springframework.data.mongodb.core.mapping.Document;
  8. import java.util.Map;
  9. @Document(collection = "exam_info")
  10. @NoArgsConstructor
  11. @AllArgsConstructor
  12. @Accessors(chain = true)
  13. @Data
  14. public class EvalExamInfo {
  15. /**
  16. * 试卷Id
  17. */
  18. @Id
  19. private Integer examId;
  20. /**
  21. * 试卷总分
  22. */
  23. private double examScore;
  24. /**
  25. * 试题id及分值
  26. */
  27. private Map<Integer, Double> questionAndScore;
  28. /**
  29. * 试题难度
  30. */
  31. private Integer difficulty;
  32. /**
  33. * 试卷更新时间
  34. */
  35. private String updateTime;
  36. /**
  37. * 考试开始时间
  38. */
  39. private String startTime;
  40. /**
  41. * 考试结束时间
  42. */
  43. private String endTime;
  44. }