package org.xyzh.common.dto.study;

import org.xyzh.common.dto.BaseDTO;
import java.util.Date;

/**
 * @description 课程章节表
 * @filename TbCourseChapter.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbCourseChapter extends BaseDTO {
    
    private static final long serialVersionUID = 1L;

    private String chapterID;
    
    /**
     * @description 课程ID
     */
    private String courseID;
    
    /**
     * @description 父章节ID
     */
    private String parentID;
    
    /**
     * @description 章节名称
     */
    private String name;
    
    /**
     * @description 章节内容
     */
    private String content;
    
    /**
     * @description 视频URL
     */
    private String videoUrl;

    /**
     * @description 章节类型（1视频 2文档 3音频）
     */
    private Integer chapterType;
    
    /**
     * @description 资源ID
     */
    private String resourceID;

    /**
     * @description 章节时长（分钟）
     */
    private Integer duration;
    
    /**
     * @description 排序号
     */
    private Integer orderNum;
    
    /**
     * @description 创建者
     */
    private String creator;
    
    /**
     * @description 更新者
     */
    private String updater;
    
    /**
     * @description 更新时间
     */
    private Date updateTime;
    
    /**
     * @description 删除时间
     */
    private Date deleteTime;
    
    /**
     * @description 是否删除
     */
    private Boolean deleted;

    public String getChapterID() {
        return chapterID;
    }

    public void setChapterID(String chapterID) {
        this.chapterID = chapterID;
    }

    public String getCourseID() {
        return courseID;
    }

    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    public String getParentID() {
        return parentID;
    }

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

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Integer getChapterType() {
        return chapterType;
    }

    public void setChapterType(Integer chapterType) {
        this.chapterType = chapterType;
    }

    public String getResourceID() {
        return resourceID;
    }

    public void setResourceID(String resourceID) {
        this.resourceID = resourceID;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    @Override
    public String toString() {
        return "TbCourseChapter{" +
                "id=" + getID() +
                ", chapterID='" + chapterID + '\'' +
                ", courseID='" + courseID + '\'' +
                ", parentID='" + parentID + '\'' +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                ", chapterType=" + chapterType +
                ", resourceID='" + resourceID + '\'' +
                ", duration=" + duration +
                ", orderNum=" + orderNum +
                '}';
    }
}

