Module.java 2.79 KB
// Module.java

package cn.bxe.updatevideo.model.original;

import java.util.List;

public class Module {
    private long id;
    private long textbookID;
    private String categoryName;
    private String categoryDesc;
    private long categoryID;
    private String moduleName;
    private long moduleType;
    private String moduleURL;
    private long count;
    private long freeStatus;
    private String moduleDesc;
    private boolean unlock;
    private List<Module> moduleList;

    public long getTextbookID() {
        return textbookID;
    }

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

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String value) {
        this.categoryName = value;
    }

    public String getCategoryDesc() {
        return categoryDesc;
    }

    public void setCategoryDesc(String value) {
        this.categoryDesc = value;
    }

    public long getId() {
        return id;
    }

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

    public long getCategoryID() {
        return categoryID;
    }

    public void setCategoryID(long categoryID) {
        this.categoryID = categoryID;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public long getModuleType() {
        return moduleType;
    }

    public void setModuleType(long moduleType) {
        this.moduleType = moduleType;
    }

    public String getModuleURL() {
        return moduleURL;
    }

    public void setModuleURL(String moduleURL) {
        this.moduleURL = moduleURL;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public long getFreeStatus() {
        return freeStatus;
    }

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

    public String getModuleDesc() {
        return moduleDesc;
    }

    public void setModuleDesc(String moduleDesc) {
        this.moduleDesc = moduleDesc;
    }

    public boolean isUnlock() {
        return unlock;
    }

    public void setUnlock(boolean unlock) {
        this.unlock = unlock;
    }

    public List<Module> getModuleList() {
        return moduleList;
    }

    public void setModuleList(List<Module> moduleList) {
        this.moduleList = moduleList;
    }

    @Override
    public String toString() {
        return "Module{" +
                "id=" + id +
                ", textbookID=" + textbookID +
                ", categoryName='" + categoryName + '\'' +
                ", categoryDesc='" + categoryDesc + '\'' +
                ", moduleList=" + moduleList +
                '}';
    }
}