Question.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package com.seecoder.dataanalysis.data.entity.eval;
  2. import com.seecoder.dataanalysis.data.entity.competency.KSScore;
  3. import lombok.AllArgsConstructor;
  4. import lombok.Data;
  5. import lombok.NoArgsConstructor;
  6. import lombok.experimental.Accessors;
  7. import org.springframework.data.annotation.Id;
  8. import org.springframework.data.mongodb.core.mapping.Document;
  9. import org.springframework.data.mongodb.core.mapping.Field;
  10. /**
  11. * @author
  12. */
  13. @Document(collection = "question")
  14. @NoArgsConstructor
  15. @AllArgsConstructor
  16. @Accessors(chain = true)
  17. @Data
  18. public class Question {
  19. /**
  20. * 题目id
  21. */
  22. @Id
  23. @Field("question_id")
  24. private String questionId;
  25. /**
  26. * 题目总分值
  27. */
  28. @Field("question_score")
  29. private String questionScore;
  30. /**
  31. * 题目考察的能力
  32. */
  33. @Field("competency")
  34. private String competency;
  35. /**
  36. * 题目考察的K-S对
  37. */
  38. @Field("ks_Score")
  39. private KSScore ksScore;
  40. public String getQuestionId() {
  41. return questionId;
  42. }
  43. public void setQuestionId(String questionId) {
  44. this.questionId = questionId;
  45. }
  46. public String getQuestionScore() {
  47. return questionScore;
  48. }
  49. public void setQuestionScore(String questionScore) {
  50. this.questionScore = questionScore;
  51. }
  52. public String getCompetency() {
  53. return competency;
  54. }
  55. public void setCompetency(String competency) {
  56. this.competency = competency;
  57. }
  58. public KSScore getKsScore() {
  59. return ksScore;
  60. }
  61. public void setKsScore(KSScore ksScore) {
  62. this.ksScore = ksScore;
  63. }
  64. }