LearnQuestions.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. package com.ruoyi.learn.domain;
  2. import java.math.BigDecimal;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import com.ruoyi.common.annotation.Excel;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. /**
  8. * 试题对象 learn_questions
  9. *
  10. * @author ruoyi
  11. * @date 2025-09-18
  12. */
  13. public class LearnQuestions extends BaseEntity
  14. {
  15. private static final long serialVersionUID = 1L;
  16. /** $column.columnComment */
  17. private Long id;
  18. /** 试题-题干 */
  19. @Excel(name = "试题-题干")
  20. private String title;
  21. /** 选项A */
  22. @Excel(name = "选项A")
  23. private String optionA;
  24. /** 选项B */
  25. @Excel(name = "选项B")
  26. private String optionB;
  27. /** 选项C */
  28. @Excel(name = "选项C")
  29. private String optionC;
  30. /** 选项D */
  31. @Excel(name = "选项D")
  32. private String optionD;
  33. /** 选项E */
  34. @Excel(name = "选项E")
  35. private String optionE;
  36. /** 选项D */
  37. @Excel(name = "选项D")
  38. private String optionF;
  39. /** 选项E */
  40. @Excel(name = "选项E")
  41. private String optionG;
  42. /** $column.columnComment */
  43. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  44. private String answer1;
  45. /** 非标准格式答案或含部分过程说明的答案 */
  46. @Excel(name = "非标准格式答案或含部分过程说明的答案")
  47. private String answer2;
  48. /** 类型(1判断题;2单选题;3多选题;4主观题,简答题) */
  49. @Excel(name = "类型", readConverterExp = "1=判断题;2单选题;3多选题;4主观题,简答题")
  50. private String qtpye;
  51. /** 学科Id */
  52. @Excel(name = "学科Id")
  53. private Long subjectId;
  54. /** $column.columnComment */
  55. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  56. private Long paperId;
  57. /** 知识点 */
  58. @Excel(name = "知识点")
  59. private Long knowledgeId;
  60. /** $column.columnComment */
  61. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  62. private BigDecimal diff;
  63. /** 试题在题库中的相似度,相似度越高,质量越低 */
  64. @Excel(name = "试题在题库中的相似度,相似度越高,质量越低")
  65. private Long similarity;
  66. /** 试题解析 */
  67. @Excel(name = "试题解析")
  68. private String parse;
  69. /** $column.columnComment */
  70. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  71. private Long knowId;
  72. /** 年级ID */
  73. @Excel(name = "年级ID")
  74. private Long gradeId;
  75. /** $column.columnComment */
  76. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  77. private String knowledges;
  78. /** 试题区域 */
  79. @Excel(name = "试题区域")
  80. private String area;
  81. /** 试题年份 */
  82. @Excel(name = "试题年份")
  83. private Long year;
  84. /** 试题类型:1,月考;2,模拟考;3,中考;4,高考;5,学业考试;6,其他 */
  85. @Excel(name = "试题类型:1,月考;2,模拟考;3,中考;4,高考;5,学业考试;6,其他")
  86. private String paperTpye;
  87. /** 来源(1gzdz,2dk,3self,4自制) */
  88. @Excel(name = "来源", readConverterExp = "1=gzdz,2dk,3self,4自制")
  89. private String source;
  90. /** 试题来源(网站) */
  91. @Excel(name = "试题来源", readConverterExp = "网=站")
  92. private String fromSite;
  93. /** 是否存在图片水印 */
  94. @Excel(name = "是否存在图片水印")
  95. private Integer isSub;
  96. /** 是否常规题,如果选择题无法正常提取标准答案或者选项,有小题的答题无法正常提取小题,则isNormal为0,否则为1 */
  97. @Excel(name = "是否常规题,如果选择题无法正常提取标准答案或者选项,有小题的答题无法正常提取小题,则isNormal为0,否则为1")
  98. private Integer isNormal;
  99. /** 是否匹配章节知识点,1匹配,0不匹配 */
  100. @Excel(name = "是否匹配章节知识点,1匹配,0不匹配")
  101. private Integer isKonw;
  102. /** 试题的tiid,结合fromsite进行同网站试题排重,用于增量更新 */
  103. @Excel(name = "试题的tiid,结合fromsite进行同网站试题排重,用于增量更新")
  104. private String tiid;
  105. /** 试题题干的md5值 */
  106. @Excel(name = "试题题干的md5值")
  107. private String md5;
  108. /** $column.columnComment */
  109. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  110. private Long isunique;
  111. /** $column.columnComment */
  112. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  113. private String md52;
  114. /** 得分 */
  115. @Excel(name = "得分")
  116. private BigDecimal score;
  117. /** 选项 */
  118. @Excel(name = "选项")
  119. private String options;
  120. /** $column.columnComment */
  121. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  122. private Long number;
  123. /** $column.columnComment */
  124. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  125. private String paperTypeTitle;
  126. /** 选项 */
  127. @Excel(name = "选项")
  128. private String options0;
  129. /** 试题-材料题题干 */
  130. @Excel(name = "试题-材料题题干")
  131. private String title0;
  132. /** 试题-材料题题干 */
  133. @Excel(name = "试题-材料题题干")
  134. private String title1;
  135. /** 试题解析 */
  136. @Excel(name = "试题解析")
  137. private String parse0;
  138. /** $column.columnComment */
  139. @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
  140. private String answer0;
  141. /** 是否更新 */
  142. @Excel(name = "是否更新")
  143. private Long isUpdate;
  144. /** 子题类型 */
  145. @Excel(name = "子题类型")
  146. private String isSubType;
  147. public void setId(Long id)
  148. {
  149. this.id = id;
  150. }
  151. public Long getId()
  152. {
  153. return id;
  154. }
  155. public void setTitle(String title)
  156. {
  157. this.title = title;
  158. }
  159. public String getTitle()
  160. {
  161. return title;
  162. }
  163. public void setOptionA(String optionA)
  164. {
  165. this.optionA = optionA;
  166. }
  167. public String getOptionA()
  168. {
  169. return optionA;
  170. }
  171. public void setOptionB(String optionB)
  172. {
  173. this.optionB = optionB;
  174. }
  175. public String getOptionB()
  176. {
  177. return optionB;
  178. }
  179. public void setOptionC(String optionC)
  180. {
  181. this.optionC = optionC;
  182. }
  183. public String getOptionC()
  184. {
  185. return optionC;
  186. }
  187. public void setOptionD(String optionD)
  188. {
  189. this.optionD = optionD;
  190. }
  191. public String getOptionD()
  192. {
  193. return optionD;
  194. }
  195. public void setOptionE(String optionE)
  196. {
  197. this.optionE = optionE;
  198. }
  199. public String getOptionE()
  200. {
  201. return optionE;
  202. }
  203. public void setOptionF(String optionF)
  204. {
  205. this.optionF = optionF;
  206. }
  207. public String getOptionF()
  208. {
  209. return optionF;
  210. }
  211. public void setOptionG(String optionG)
  212. {
  213. this.optionG = optionG;
  214. }
  215. public String getOptionG()
  216. {
  217. return optionG;
  218. }
  219. public void setAnswer1(String answer1)
  220. {
  221. this.answer1 = answer1;
  222. }
  223. public String getAnswer1()
  224. {
  225. return answer1;
  226. }
  227. public void setAnswer2(String answer2)
  228. {
  229. this.answer2 = answer2;
  230. }
  231. public String getAnswer2()
  232. {
  233. return answer2;
  234. }
  235. public void setQtpye(String qtpye)
  236. {
  237. this.qtpye = qtpye;
  238. }
  239. public String getQtpye()
  240. {
  241. return qtpye;
  242. }
  243. public void setSubjectId(Long subjectId)
  244. {
  245. this.subjectId = subjectId;
  246. }
  247. public Long getSubjectId()
  248. {
  249. return subjectId;
  250. }
  251. public void setPaperId(Long paperId)
  252. {
  253. this.paperId = paperId;
  254. }
  255. public Long getPaperId()
  256. {
  257. return paperId;
  258. }
  259. public void setKnowledgeId(Long knowledgeId)
  260. {
  261. this.knowledgeId = knowledgeId;
  262. }
  263. public Long getKnowledgeId()
  264. {
  265. return knowledgeId;
  266. }
  267. public void setDiff(BigDecimal diff)
  268. {
  269. this.diff = diff;
  270. }
  271. public BigDecimal getDiff()
  272. {
  273. return diff;
  274. }
  275. public void setSimilarity(Long similarity)
  276. {
  277. this.similarity = similarity;
  278. }
  279. public Long getSimilarity()
  280. {
  281. return similarity;
  282. }
  283. public void setParse(String parse)
  284. {
  285. this.parse = parse;
  286. }
  287. public String getParse()
  288. {
  289. return parse;
  290. }
  291. public void setKnowId(Long knowId)
  292. {
  293. this.knowId = knowId;
  294. }
  295. public Long getKnowId()
  296. {
  297. return knowId;
  298. }
  299. public void setGradeId(Long gradeId)
  300. {
  301. this.gradeId = gradeId;
  302. }
  303. public Long getGradeId()
  304. {
  305. return gradeId;
  306. }
  307. public void setKnowledges(String knowledges)
  308. {
  309. this.knowledges = knowledges;
  310. }
  311. public String getKnowledges()
  312. {
  313. return knowledges;
  314. }
  315. public void setArea(String area)
  316. {
  317. this.area = area;
  318. }
  319. public String getArea()
  320. {
  321. return area;
  322. }
  323. public void setYear(Long year)
  324. {
  325. this.year = year;
  326. }
  327. public Long getYear()
  328. {
  329. return year;
  330. }
  331. public void setPaperTpye(String paperTpye)
  332. {
  333. this.paperTpye = paperTpye;
  334. }
  335. public String getPaperTpye()
  336. {
  337. return paperTpye;
  338. }
  339. public void setSource(String source)
  340. {
  341. this.source = source;
  342. }
  343. public String getSource()
  344. {
  345. return source;
  346. }
  347. public void setFromSite(String fromSite)
  348. {
  349. this.fromSite = fromSite;
  350. }
  351. public String getFromSite()
  352. {
  353. return fromSite;
  354. }
  355. public void setIsSub(Integer isSub)
  356. {
  357. this.isSub = isSub;
  358. }
  359. public Integer getIsSub()
  360. {
  361. return isSub;
  362. }
  363. public void setIsNormal(Integer isNormal)
  364. {
  365. this.isNormal = isNormal;
  366. }
  367. public Integer getIsNormal()
  368. {
  369. return isNormal;
  370. }
  371. public void setIsKonw(Integer isKonw)
  372. {
  373. this.isKonw = isKonw;
  374. }
  375. public Integer getIsKonw()
  376. {
  377. return isKonw;
  378. }
  379. public void setTiid(String tiid)
  380. {
  381. this.tiid = tiid;
  382. }
  383. public String getTiid()
  384. {
  385. return tiid;
  386. }
  387. public void setMd5(String md5)
  388. {
  389. this.md5 = md5;
  390. }
  391. public String getMd5()
  392. {
  393. return md5;
  394. }
  395. public void setIsunique(Long isunique)
  396. {
  397. this.isunique = isunique;
  398. }
  399. public Long getIsunique()
  400. {
  401. return isunique;
  402. }
  403. public void setMd52(String md52)
  404. {
  405. this.md52 = md52;
  406. }
  407. public String getMd52()
  408. {
  409. return md52;
  410. }
  411. public void setScore(BigDecimal score)
  412. {
  413. this.score = score;
  414. }
  415. public BigDecimal getScore()
  416. {
  417. return score;
  418. }
  419. public void setOptions(String options)
  420. {
  421. this.options = options;
  422. }
  423. public String getOptions()
  424. {
  425. return options;
  426. }
  427. public void setNumber(Long number)
  428. {
  429. this.number = number;
  430. }
  431. public Long getNumber()
  432. {
  433. return number;
  434. }
  435. public void setPaperTypeTitle(String paperTypeTitle)
  436. {
  437. this.paperTypeTitle = paperTypeTitle;
  438. }
  439. public String getPaperTypeTitle()
  440. {
  441. return paperTypeTitle;
  442. }
  443. public void setOptions0(String options0)
  444. {
  445. this.options0 = options0;
  446. }
  447. public String getOptions0()
  448. {
  449. return options0;
  450. }
  451. public void setTitle0(String title0)
  452. {
  453. this.title0 = title0;
  454. }
  455. public String getTitle0()
  456. {
  457. return title0;
  458. }
  459. public void setTitle1(String title1)
  460. {
  461. this.title1 = title1;
  462. }
  463. public String getTitle1()
  464. {
  465. return title1;
  466. }
  467. public void setParse0(String parse0)
  468. {
  469. this.parse0 = parse0;
  470. }
  471. public String getParse0()
  472. {
  473. return parse0;
  474. }
  475. public void setAnswer0(String answer0)
  476. {
  477. this.answer0 = answer0;
  478. }
  479. public String getAnswer0()
  480. {
  481. return answer0;
  482. }
  483. public void setIsUpdate(Long isUpdate)
  484. {
  485. this.isUpdate = isUpdate;
  486. }
  487. public Long getIsUpdate()
  488. {
  489. return isUpdate;
  490. }
  491. public void setIsSubType(String isSubType)
  492. {
  493. this.isSubType = isSubType;
  494. }
  495. public String getIsSubType()
  496. {
  497. return isSubType;
  498. }
  499. @Override
  500. public String toString() {
  501. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  502. .append("id", getId())
  503. .append("title", getTitle())
  504. .append("optionA", getOptionA())
  505. .append("optionB", getOptionB())
  506. .append("optionC", getOptionC())
  507. .append("optionD", getOptionD())
  508. .append("optionE", getOptionE())
  509. .append("optionF", getOptionF())
  510. .append("optionG", getOptionG())
  511. .append("answer1", getAnswer1())
  512. .append("answer2", getAnswer2())
  513. .append("qtpye", getQtpye())
  514. .append("subjectId", getSubjectId())
  515. .append("paperId", getPaperId())
  516. .append("knowledgeId", getKnowledgeId())
  517. .append("diff", getDiff())
  518. .append("similarity", getSimilarity())
  519. .append("parse", getParse())
  520. .append("knowId", getKnowId())
  521. .append("gradeId", getGradeId())
  522. .append("knowledges", getKnowledges())
  523. .append("area", getArea())
  524. .append("year", getYear())
  525. .append("paperTpye", getPaperTpye())
  526. .append("source", getSource())
  527. .append("fromSite", getFromSite())
  528. .append("isSub", getIsSub())
  529. .append("isNormal", getIsNormal())
  530. .append("isKonw", getIsKonw())
  531. .append("tiid", getTiid())
  532. .append("md5", getMd5())
  533. .append("isunique", getIsunique())
  534. .append("md52", getMd52())
  535. .append("createTime", getCreateTime())
  536. .append("score", getScore())
  537. .append("options", getOptions())
  538. .append("number", getNumber())
  539. .append("paperTypeTitle", getPaperTypeTitle())
  540. .append("options0", getOptions0())
  541. .append("title0", getTitle0())
  542. .append("title1", getTitle1())
  543. .append("parse0", getParse0())
  544. .append("answer0", getAnswer0())
  545. .append("isUpdate", getIsUpdate())
  546. .append("isSubType", getIsSubType())
  547. .toString();
  548. }
  549. }