package com.ruoyi.course.domain.dto;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 排课任务数据传输对象
 */
@Data
public class ScheduleTaskDTO {
    private Long id;
    private String taskName;
    private String scheduleGrade;
    private String semester;
    private Integer status;           // 0=准备中,1=排课中,2=已完成,3=失败,4=已取消
    private Integer progress;         // 进度百分比
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String remark;
    private String createdBy;
    private LocalDateTime createTime;
    
    // 扩展信息
    private Integer totalLessons;     // 总课节数
    private Integer scheduledLessons; // 已排课节数
    private Integer conflictCount;    // 冲突数量
    private String duration;          // 耗时
}