package com.reading.platform.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

/**
 * 课表模板应用请求
 */
@Data
@Schema(description = "课表模板应用请求")
public class ScheduleTemplateApplyRequest {

    @NotNull(message = "班级 ID 不能为空")
    @Schema(description = "班级 ID")
    private String classId;

    @NotNull(message = "开始日期不能为空")
    @Schema(description = "应用开始日期")
    private LocalDate startDate;

    @Schema(description = "应用周数")
    private Integer weeks;

}
