package com.reading.platform.dto.response;

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

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * 课表计划响应
 */
@Data
@Schema(description = "课表计划响应")
public class SchedulePlanResponse {

    @Schema(description = "课表 ID", example = "1")
    private String id;

    @Schema(description = "课表名称", example = "周一上午课程")
    private String name;

    @Schema(description = "班级 ID")
    private String classId;

    @Schema(description = "班级名称")
    private String className;

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

    @Schema(description = "课程名称")
    private String courseName;

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

    @Schema(description = "教师姓名")
    private String teacherName;

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

    @Schema(description = "节次", example = "1")
    private Integer period;

    @Schema(description = "开始时间", example = "08:00")
    private LocalTime startTime;

    @Schema(description = "结束时间", example = "08:45")
    private LocalTime endTime;

    @Schema(description = "开始日期", example = "2024-01-01")
    private LocalDate startDate;

    @Schema(description = "结束日期", example = "2024-06-30")
    private LocalDate endDate;

    @Schema(description = "地点", example = "教室 101")
    private String location;

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

    @Schema(description = "状态", example = "active")
    private String status;
}
