package com.reading.platform.dto.request;

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

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

@Data
@Schema(description = "Lesson Create Request")
public class LessonCreateRequest {

    @NotNull(message = "Course ID is required")
    @Schema(description = "Course ID")
    private Long courseId;

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

    @NotNull(message = "Teacher ID is required")
    @Schema(description = "Teacher ID")
    private Long teacherId;

    @NotBlank(message = "Title is required")
    @Schema(description = "Lesson title")
    private String title;

    @NotNull(message = "Lesson date is required")
    @Schema(description = "Lesson date")
    private LocalDate lessonDate;

    @Schema(description = "Start time")
    private LocalTime startTime;

    @Schema(description = "End time")
    private LocalTime endTime;

    @Schema(description = "Location")
    private String location;

    @Schema(description = "Notes")
    private String notes;

}
