LearnExaminee.java 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. package com.ruoyi.learn.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.ruoyi.common.annotation.Excel;
  7. import com.ruoyi.common.core.domain.BaseEntity;
  8. /**
  9. * 答卷对象 learn_examinee
  10. *
  11. * @author ruoyi
  12. * @date 2025-09-25
  13. */
  14. public class LearnExaminee extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 答卷id */
  18. private Long examineeId;
  19. /** 学生id */
  20. @Excel(name = "学生id")
  21. private Long studentId;
  22. /** 试卷类型 */
  23. @Excel(name = "试卷类型")
  24. private Integer paperType;
  25. /** 试卷id */
  26. @Excel(name = "试卷id")
  27. private Long paperId;
  28. @Excel(name = "试卷标识")
  29. private String paperKey;
  30. @Excel(name = "试卷信息")
  31. private String paperInfo;
  32. @Excel(name = "做题时长")
  33. private Long duration;
  34. /** 开始时间 */
  35. @JsonFormat(pattern = "yyyy-MM-dd")
  36. @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
  37. private Date beginTime;
  38. /** 结束时间 */
  39. @JsonFormat(pattern = "yyyy-MM-dd")
  40. @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
  41. private Date endTime;
  42. /** ExamineeStatus */
  43. @Excel(name = "考卷状态 ExamineeStatus ")
  44. private Integer state;
  45. /** 分级 */
  46. @Excel(name = "分级")
  47. private String scoreLevel;
  48. /** 分值 */
  49. @Excel(name = "分值")
  50. private Integer score;
  51. /** 分率 */
  52. @Excel(name = "分率")
  53. private Integer scoreRate;
  54. /** 名次 */
  55. @Excel(name = "名次")
  56. private Long ranking;
  57. /** 年排名次 */
  58. @Excel(name = "年排名次")
  59. private Long gradeRanking;
  60. private String stats;
  61. @Excel(name = "错题总数")
  62. private Integer wrongCount;
  63. /** 选择题正确数 */
  64. @Excel(name = "选择题正确数")
  65. private Long chooseCount;
  66. /** 选择题总数 */
  67. @Excel(name = "选择题总数")
  68. private Long chooseTotal;
  69. /** 主观题正确数 */
  70. @Excel(name = "主观题正确数")
  71. private Long subjectiveCount;
  72. /** 主观题总数 */
  73. @Excel(name = "主观题总数")
  74. private Long subjectiveTotal;
  75. private Long subjectId;
  76. public Long getSubjectId() {
  77. return subjectId;
  78. }
  79. public void setSubjectId(Long subjectId) {
  80. this.subjectId = subjectId;
  81. }
  82. public void setExamineeId(Long examineeId)
  83. {
  84. this.examineeId = examineeId;
  85. }
  86. public Long getExamineeId()
  87. {
  88. return examineeId;
  89. }
  90. public void setStudentId(Long studentId)
  91. {
  92. this.studentId = studentId;
  93. }
  94. public Long getStudentId()
  95. {
  96. return studentId;
  97. }
  98. public void setPaperType(Integer paperType)
  99. {
  100. this.paperType = paperType;
  101. }
  102. public Integer getPaperType()
  103. {
  104. return paperType;
  105. }
  106. public void setPaperId(Long paperId)
  107. {
  108. this.paperId = paperId;
  109. }
  110. public Long getPaperId()
  111. {
  112. return paperId;
  113. }
  114. public String getPaperKey() {
  115. return paperKey;
  116. }
  117. public void setPaperKey(String paperKey) {
  118. this.paperKey = paperKey;
  119. }
  120. public String getPaperInfo() {
  121. return paperInfo;
  122. }
  123. public void setPaperInfo(String paperInfo) {
  124. this.paperInfo = paperInfo;
  125. }
  126. public Long getDuration() {
  127. return duration;
  128. }
  129. public void setDuration(Long duration) {
  130. this.duration = duration;
  131. }
  132. public void setBeginTime(Date beginTime)
  133. {
  134. this.beginTime = beginTime;
  135. }
  136. public Date getBeginTime()
  137. {
  138. return beginTime;
  139. }
  140. public void setEndTime(Date endTime)
  141. {
  142. this.endTime = endTime;
  143. }
  144. public Date getEndTime()
  145. {
  146. return endTime;
  147. }
  148. public void setState(Integer state)
  149. {
  150. this.state = state;
  151. }
  152. public Integer getState()
  153. {
  154. return state;
  155. }
  156. public String getStats() {
  157. return stats;
  158. }
  159. public void setStats(String stats) {
  160. this.stats = stats;
  161. }
  162. public Integer getWrongCount() {
  163. return wrongCount;
  164. }
  165. public void setWrongCount(Integer wrongCount) {
  166. this.wrongCount = wrongCount;
  167. }
  168. public void setScoreLevel(String scoreLevel)
  169. {
  170. this.scoreLevel = scoreLevel;
  171. }
  172. public String getScoreLevel()
  173. {
  174. return scoreLevel;
  175. }
  176. public void setScore(Integer score)
  177. {
  178. this.score = score;
  179. }
  180. public Integer getScore()
  181. {
  182. return score;
  183. }
  184. public void setScoreRate(Integer scoreRate)
  185. {
  186. this.scoreRate = scoreRate;
  187. }
  188. public Integer getScoreRate()
  189. {
  190. return scoreRate;
  191. }
  192. public void setRanking(Long ranking)
  193. {
  194. this.ranking = ranking;
  195. }
  196. public Long getRanking()
  197. {
  198. return ranking;
  199. }
  200. public void setGradeRanking(Long gradeRanking)
  201. {
  202. this.gradeRanking = gradeRanking;
  203. }
  204. public Long getGradeRanking()
  205. {
  206. return gradeRanking;
  207. }
  208. public void setChooseCount(Long chooseCount)
  209. {
  210. this.chooseCount = chooseCount;
  211. }
  212. public Long getChooseCount()
  213. {
  214. return chooseCount;
  215. }
  216. public void setChooseTotal(Long chooseTotal)
  217. {
  218. this.chooseTotal = chooseTotal;
  219. }
  220. public Long getChooseTotal()
  221. {
  222. return chooseTotal;
  223. }
  224. public void setSubjectiveCount(Long subjectiveCount)
  225. {
  226. this.subjectiveCount = subjectiveCount;
  227. }
  228. public Long getSubjectiveCount()
  229. {
  230. return subjectiveCount;
  231. }
  232. public void setSubjectiveTotal(Long subjectiveTotal)
  233. {
  234. this.subjectiveTotal = subjectiveTotal;
  235. }
  236. public Long getSubjectiveTotal()
  237. {
  238. return subjectiveTotal;
  239. }
  240. @Override
  241. public String toString() {
  242. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  243. .append("examineeId", getExamineeId())
  244. .append("studentId", getStudentId())
  245. .append("paperType", getPaperType())
  246. .append("paperId", getPaperId())
  247. .append("beginTime", getBeginTime())
  248. .append("endTime", getEndTime())
  249. .append("state", getState())
  250. .append("scoreLevel", getScoreLevel())
  251. .append("score", getScore())
  252. .append("scoreRate", getScoreRate())
  253. .append("ranking", getRanking())
  254. .append("gradeRanking", getGradeRanking())
  255. .append("chooseCount", getChooseCount())
  256. .append("chooseTotal", getChooseTotal())
  257. .append("subjectiveCount", getSubjectiveCount())
  258. .append("subjectiveTotal", getSubjectiveTotal())
  259. .append("createTime", getCreateTime())
  260. .append("updateTime", getUpdateTime())
  261. .toString();
  262. }
  263. }