| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- package com.ruoyi.learn.domain;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.annotation.Excel;
- import com.ruoyi.common.core.domain.BaseEntity;
- /**
- * 同步知识点树对象 learn_knowledge_course
- *
- * @author ruoyi
- * @date 2025-11-04
- */
- public class LearnKnowledgeCourse extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 知识点id */
- private Long id;
- /** 知识点名称 */
- @Excel(name = "知识点名称")
- private String name;
- /** 父ID */
- @Excel(name = "父ID")
- private Long pid;
- /** 祖级列表 */
- @Excel(name = "祖级列表")
- private String ancestors;
- /** 排序 */
- @Excel(name = "排序")
- private Integer sort;
- /** 级数 */
- @Excel(name = "级数")
- private Integer level;
- /** 题目数 */
- @Excel(name = "题目数")
- private Integer questionsCount;
- /** 知识点 */
- @Excel(name = "知识点")
- private String knowledges;
- /** 适用省份 */
- @Excel(name = "适用省份")
- private String locations;
- /** 适用考生类型 */
- @Excel(name = "适用考生类型")
- private String examineeTypes;
- public void setId(Long id)
- {
- this.id = id;
- }
- public Long getId()
- {
- return id;
- }
- public void setName(String name)
- {
- this.name = name;
- }
- public String getName()
- {
- return name;
- }
- public void setPid(Long pid)
- {
- this.pid = pid;
- }
- public Long getPid()
- {
- return pid;
- }
- public void setAncestors(String ancestors)
- {
- this.ancestors = ancestors;
- }
- public String getAncestors()
- {
- return ancestors;
- }
- public void setSort(Integer sort)
- {
- this.sort = sort;
- }
- public Integer getSort()
- {
- return sort;
- }
- public void setLevel(Integer level)
- {
- this.level = level;
- }
- public Integer getLevel()
- {
- return level;
- }
- public void setQuestionsCount(Integer questionsCount)
- {
- this.questionsCount = questionsCount;
- }
- public Integer getQuestionsCount()
- {
- return questionsCount;
- }
- public void setKnowledges(String knowledges)
- {
- this.knowledges = knowledges;
- }
- public String getKnowledges()
- {
- return knowledges;
- }
- public void setLocations(String locations)
- {
- this.locations = locations;
- }
- public String getLocations()
- {
- return locations;
- }
- public void setExamineeTypes(String examineeTypes)
- {
- this.examineeTypes = examineeTypes;
- }
- public String getExamineeTypes()
- {
- return examineeTypes;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("name", getName())
- .append("pid", getPid())
- .append("ancestors", getAncestors())
- .append("sort", getSort())
- .append("level", getLevel())
- .append("questionsCount", getQuestionsCount())
- .append("knowledges", getKnowledges())
- .append("locations", getLocations())
- .append("examineeTypes", getExamineeTypes())
- .toString();
- }
- }
|