TbxXrChapter.java 2.54 KB
package cn.bxe.updatevideo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
/**
 * <p>
 * 小睿书籍内类目章节
 * </p>
 *
 * @author ting
 * @since 2023-01-17
 */
public class TbxXrChapter implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    public Long getId() {
        return id;
    }

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

    /**
     * 等级
     */
    private Integer level;

    /**
     * 类目id
     */
    private Integer chapterId;

    /**
     * 书籍ID
     */
    private Integer textbookId;

    /**
     * 类目章节父ID
     */
    private Integer parentId;

    /**
     * 章节名
     */
    private String chapterName;

    /**
     * 排序
     */
    private Integer sortIndex;

    /**
     * 子章节
     */
    private String childrenJson;

    /**
     * 记录状态@10,正常|30,删除状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Long createTime;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public Integer getTextbookId() {
        return textbookId;
    }

    public void setTextbookId(Integer textbookId) {
        this.textbookId = textbookId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public String getChildrenJson() {
        return childrenJson;
    }

    public void setChildrenJson(String childrenJson) {
        this.childrenJson = childrenJson;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}