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_question
 * 
 * @author ruoyi
 * @date 2025-09-25
 */
public class LearnKnowledgeQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 知识点 */
    @Excel(name = "知识点")
    private Long knowledgeId;

    /** 0 默认 1know_test-知识点 2必刷题,3auto-基础题库,4high_error-高频错题 */
    @Excel(name = "0 默认 1know_test-知识点 2必刷题,3auto-基础题库,4high_error-高频错题")
    private Long type;

    /** 题ID */
    @Excel(name = "题ID")
    private Long questionId;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long seq;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setKnowledgeId(Long knowledgeId) 
    {
        this.knowledgeId = knowledgeId;
    }

    public Long getKnowledgeId() 
    {
        return knowledgeId;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }

    public void setSeq(Long seq) 
    {
        this.seq = seq;
    }

    public Long getSeq() 
    {
        return seq;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("knowledgeId", getKnowledgeId())
            .append("type", getType())
            .append("questionId", getQuestionId())
            .append("seq", getSeq())
            .append("createTime", getCreateTime())
            .toString();
    }
}
