package com.lesingle.edu.dto.response;

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

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

/**
 * 课表响应
 * 用于按日期分组返回课表信息
 */
@Data
@Builder
@Schema(description = "课表响应")
public class TimetableResponse {

    @Schema(description = "日期")
    private LocalDate date;

    @Schema(description = "星期几 (1-7)")
    private Integer weekDay;

    @Schema(description = "排课列表")
    private List<SchedulePlanResponse> schedules;

}
