package org.xyzh.common.dto.study;

import org.xyzh.common.dto.BaseDTO;

/**
 * @description 任务课程关联表
 * @filename TbTaskCourse.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbTaskCourse extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 任务ID
     */
    private String taskID;
    
    /**
     * @description 课程ID
     */
    private String courseID;
    
    /**
     * @description 是否必须完成
     */
    private Boolean required;
    
    /**
     * @description 排序号
     */
    private Integer orderNum;
    
    /**
     * @description 创建者
     */
    private String creator;

    public String getTaskID() {
        return taskID;
    }

    public void setTaskID(String taskID) {
        this.taskID = taskID;
    }

    public String getCourseID() {
        return courseID;
    }

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

    public Boolean getRequired() {
        return required;
    }

    public void setRequired(Boolean required) {
        this.required = required;
    }

    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;
    }

    @Override
    public String toString() {
        return "TbTaskCourse{" +
                "id=" + getID() +
                ", taskID='" + taskID + '\'' +
                ", courseID='" + courseID + '\'' +
                ", required=" + required +
                ", orderNum=" + orderNum +
                ", createTime=" + getCreateTime() +
                '}';
    }
}
