package com.lesingle.edu.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 按班级批量创建排课请求
 */
@Data
@Schema(description = "按班级批量创建排课请求")
public class ScheduleCreateByClassesRequest {

    @Schema(description = "班级 ID 列表")
    private List<Long> classIds;

    @Schema(description = "课程 ID")
    private Long courseId;

    @Schema(description = "课程包 ID")
    private Long coursePackageId;

    @Schema(description = "课程类型")
    private String lessonType;

    @Schema(description = "教师 ID")
    private Long teacherId;

    @Schema(description = "排课日期")
    private LocalDate scheduledDate;

    @Schema(description = "时间段，如 '09:00-10:00'")
    private String scheduledTime;

    @Schema(description = "重复类型：NONE-单次，WEEKLY-每周，BIWEEKLY-双周，DAILY-每日")
    private String repeatType;

    @Schema(description = "重复截止日期")
    private LocalDate repeatEndDate;

    @Schema(description = "备注")
    private String note;
}