LearnKnowledgeCourse.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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_knowledge_course
  8. *
  9. * @author ruoyi
  10. * @date 2025-11-04
  11. */
  12. public class LearnKnowledgeCourse extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** 知识点id */
  16. private Long id;
  17. /** 知识点名称 */
  18. @Excel(name = "知识点名称")
  19. private String name;
  20. /** 父ID */
  21. @Excel(name = "父ID")
  22. private Long pid;
  23. /** 祖级列表 */
  24. @Excel(name = "祖级列表")
  25. private String ancestors;
  26. /** 排序 */
  27. @Excel(name = "排序")
  28. private Integer sort;
  29. /** 级数 */
  30. @Excel(name = "级数")
  31. private Integer level;
  32. /** 题目数 */
  33. @Excel(name = "题目数")
  34. private Integer questionsCount;
  35. /** 知识点 */
  36. @Excel(name = "知识点")
  37. private String knowledges;
  38. /** 适用省份 */
  39. @Excel(name = "适用省份")
  40. private String locations;
  41. /** 适用考生类型 */
  42. @Excel(name = "适用考生类型")
  43. private String examineeTypes;
  44. public void setId(Long id)
  45. {
  46. this.id = id;
  47. }
  48. public Long getId()
  49. {
  50. return id;
  51. }
  52. public void setName(String name)
  53. {
  54. this.name = name;
  55. }
  56. public String getName()
  57. {
  58. return name;
  59. }
  60. public void setPid(Long pid)
  61. {
  62. this.pid = pid;
  63. }
  64. public Long getPid()
  65. {
  66. return pid;
  67. }
  68. public void setAncestors(String ancestors)
  69. {
  70. this.ancestors = ancestors;
  71. }
  72. public String getAncestors()
  73. {
  74. return ancestors;
  75. }
  76. public void setSort(Integer sort)
  77. {
  78. this.sort = sort;
  79. }
  80. public Integer getSort()
  81. {
  82. return sort;
  83. }
  84. public void setLevel(Integer level)
  85. {
  86. this.level = level;
  87. }
  88. public Integer getLevel()
  89. {
  90. return level;
  91. }
  92. public void setQuestionsCount(Integer questionsCount)
  93. {
  94. this.questionsCount = questionsCount;
  95. }
  96. public Integer getQuestionsCount()
  97. {
  98. return questionsCount;
  99. }
  100. public void setKnowledges(String knowledges)
  101. {
  102. this.knowledges = knowledges;
  103. }
  104. public String getKnowledges()
  105. {
  106. return knowledges;
  107. }
  108. public void setLocations(String locations)
  109. {
  110. this.locations = locations;
  111. }
  112. public String getLocations()
  113. {
  114. return locations;
  115. }
  116. public void setExamineeTypes(String examineeTypes)
  117. {
  118. this.examineeTypes = examineeTypes;
  119. }
  120. public String getExamineeTypes()
  121. {
  122. return examineeTypes;
  123. }
  124. @Override
  125. public String toString() {
  126. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  127. .append("id", getId())
  128. .append("name", getName())
  129. .append("pid", getPid())
  130. .append("ancestors", getAncestors())
  131. .append("sort", getSort())
  132. .append("level", getLevel())
  133. .append("questionsCount", getQuestionsCount())
  134. .append("knowledges", getKnowledges())
  135. .append("locations", getLocations())
  136. .append("examineeTypes", getExamineeTypes())
  137. .toString();
  138. }
  139. }