package com.lesingle.edu.dto.response;

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

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

/**
 * 教师课程视图对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "教师课程视图对象")
public class TeacherLessonVO {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "租户 ID")
    private Long tenantId;

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

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

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

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

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

    @Schema(description = "标题")
    private String title;

    @Schema(description = "课时日期")
    private LocalDate lessonDate;

    @Schema(description = "开始时间")
    private LocalTime startTime;

    @Schema(description = "结束时间")
    private LocalTime endTime;

    @Schema(description = "地点")
    private String location;

    @Schema(description = "状态")
    private String status;

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

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
