Chapter.java 2.6 KB
package cn.bxe.updatevideo.model.original;

import java.util.List;

public class Chapter {
    private Integer id;
    private Integer textbookID;
    private int parentID;
    private Integer level;
    private String chapterName;
    private int sortIndex;
    private Integer freeStatus;
    private boolean lastStudyFlag;
    private boolean expand;
    private boolean vip;

    private String children;

    @Override
    public String toString() {
        return "Chapter{" +
                "id=" + id +
                ", textbookID=" + textbookID +
                ", parentID=" + parentID +
                ", level=" + level +
                ", chapterName='" + chapterName + '\'' +
                ", sortIndex=" + sortIndex +
                ", freeStatus=" + freeStatus +
                ", lastStudyFlag=" + lastStudyFlag +
                ", expand=" + expand +
                ", vip=" + vip +
                ", children=" + children +
                '}';
    }

    public Integer getId() {
        return id;
    }

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

    public Integer getTextbookID() {
        return textbookID;
    }

    public void setTextbookID(Integer textbookID) {
        this.textbookID = textbookID;
    }

    public int getParentID() {
        return parentID;
    }

    public void setParentID(int parentID) {
        this.parentID = parentID;
    }

    public Integer getLevel() {
        return level;
    }

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

    public String getChapterName() {
        return chapterName;
    }

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

    public int getSortIndex() {
        return sortIndex;
    }

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

    public Integer getFreeStatus() {
        return freeStatus;
    }

    public void setFreeStatus(Integer freeStatus) {
        this.freeStatus = freeStatus;
    }

    public boolean isLastStudyFlag() {
        return lastStudyFlag;
    }

    public void setLastStudyFlag(boolean lastStudyFlag) {
        this.lastStudyFlag = lastStudyFlag;
    }

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public boolean isVip() {
        return vip;
    }

    public void setVip(boolean vip) {
        this.vip = vip;
    }

    public String getChildren() {
        return children;
    }

    public void setChildren(String children) {
        this.children = children;
    }
}