LearnPaper.java 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. package com.ruoyi.learn.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 试卷对象 learn_paper
  8. *
  9. * @author ruoyi
  10. * @date 2025-09-18
  11. */
  12. public class LearnPaper extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** $column.columnComment */
  16. private Long id;
  17. /** 科目id */
  18. @Excel(name = "科目id")
  19. private Long subjectId;
  20. /** 试卷名称 */
  21. @Excel(name = "试卷名称")
  22. private String paperName;
  23. /** 创建年度 */
  24. @Excel(name = "创建年度")
  25. private Integer year;
  26. /** 历年真题,模拟卷,必刷题;组卷;练习卷;刷题卷;know_test-知识点,auto-基础题库,high_error-高频错题,smart_test-智能刷题,paper-真题,试卷 */
  27. @Excel(name = "历年真题,模拟卷,必刷题;组卷;练习卷;刷题卷;know_test-知识点,auto-基础题库,high_error-高频错题,smart_test-智能刷题,paper-真题,试卷")
  28. private String paperType;
  29. /** 试卷状态 */
  30. @Excel(name = "试卷状态 0无效 1有效 3临卷无效 4临卷有效")
  31. private Integer status;
  32. /** 试卷题数 */
  33. @Excel(name = "试卷题数")
  34. private Integer number;
  35. /** 试卷总分数 */
  36. @Excel(name = "试卷总分数")
  37. private Integer fenshu;
  38. /** 试券来源 */
  39. @Excel(name = "试券来源")
  40. private Integer paperSource;
  41. /** 定向key */
  42. @Excel(name = "定向key")
  43. private String directKey;
  44. /** 标识 */
  45. @Excel(name = "标识")
  46. private String tiid;
  47. /** 路径 */
  48. @Excel(name = "路径")
  49. private String osspath;
  50. /** 源文件名 */
  51. @Excel(name = "源文件名")
  52. private String filename;
  53. /** 真题卷id或组卷人id */
  54. @Excel(name = "真题卷id或组卷人id")
  55. private Long relateId;
  56. /** 适用地区 */
  57. @Excel(name = "适用地区")
  58. private String locations;
  59. /** 适用考生 */
  60. @Excel(name = "适用考生")
  61. private String examineeTypes;
  62. private String conditions;
  63. public void setId(Long id)
  64. {
  65. this.id = id;
  66. }
  67. public Long getId()
  68. {
  69. return id;
  70. }
  71. public void setSubjectId(Long subjectId)
  72. {
  73. this.subjectId = subjectId;
  74. }
  75. public Long getSubjectId()
  76. {
  77. return subjectId;
  78. }
  79. public void setPaperName(String paperName)
  80. {
  81. this.paperName = paperName;
  82. }
  83. public String getPaperName()
  84. {
  85. return paperName;
  86. }
  87. public void setYear(Integer year)
  88. {
  89. this.year = year;
  90. }
  91. public Integer getYear()
  92. {
  93. return year;
  94. }
  95. public void setPaperType(String paperType)
  96. {
  97. this.paperType = paperType;
  98. }
  99. public String getPaperType()
  100. {
  101. return paperType;
  102. }
  103. public void setNumber(Integer number)
  104. {
  105. this.number = number;
  106. }
  107. public Integer getNumber()
  108. {
  109. return number;
  110. }
  111. public Integer getStatus() {
  112. return status;
  113. }
  114. public void setStatus(Integer status) {
  115. this.status = status;
  116. }
  117. public void setFenshu(Integer fenshu)
  118. {
  119. this.fenshu = fenshu;
  120. }
  121. public Integer getFenshu()
  122. {
  123. return fenshu;
  124. }
  125. public void setPaperSource(Integer paperSource)
  126. {
  127. this.paperSource = paperSource;
  128. }
  129. public Integer getPaperSource()
  130. {
  131. return paperSource;
  132. }
  133. public void setDirectKey(String directKey)
  134. {
  135. this.directKey = directKey;
  136. }
  137. public String getDirectKey()
  138. {
  139. return directKey;
  140. }
  141. public void setTiid(String tiid)
  142. {
  143. this.tiid = tiid;
  144. }
  145. public String getTiid()
  146. {
  147. return tiid;
  148. }
  149. public void setOsspath(String osspath)
  150. {
  151. this.osspath = osspath;
  152. }
  153. public String getOsspath()
  154. {
  155. return osspath;
  156. }
  157. public void setFilename(String filename)
  158. {
  159. this.filename = filename;
  160. }
  161. public String getFilename()
  162. {
  163. return filename;
  164. }
  165. public void setRelateId(Long relateId)
  166. {
  167. this.relateId = relateId;
  168. }
  169. public Long getRelateId()
  170. {
  171. return relateId;
  172. }
  173. public void setLocations(String locations)
  174. {
  175. this.locations = locations;
  176. }
  177. public String getLocations()
  178. {
  179. return locations;
  180. }
  181. public void setExamineeTypes(String examineeTypes)
  182. {
  183. this.examineeTypes = examineeTypes;
  184. }
  185. public String getExamineeTypes()
  186. {
  187. return examineeTypes;
  188. }
  189. public String getConditions() {
  190. return conditions;
  191. }
  192. public void setConditions(String conditions) {
  193. this.conditions = conditions;
  194. }
  195. @Override
  196. public String toString() {
  197. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  198. .append("id", getId())
  199. .append("subjectId", getSubjectId())
  200. .append("paperName", getPaperName())
  201. .append("year", getYear())
  202. .append("paperType", getPaperType())
  203. .append("number", getNumber())
  204. .append("fenshu", getFenshu())
  205. .append("paperSource", getPaperSource())
  206. .append("directKey", getDirectKey())
  207. .append("tiid", getTiid())
  208. .append("osspath", getOsspath())
  209. .append("filename", getFilename())
  210. .append("relateId", getRelateId())
  211. .append("locations", getLocations())
  212. .append("examineeTypes", getExamineeTypes())
  213. .append("createTime", getCreateTime())
  214. .toString();
  215. }
  216. }