package com.lesingle.edu.dto.request;

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

/**
 * 创建课程环节请求 DTO
 */
@Data
@Schema(description = "创建课程环节请求")
public class CourseLessonCreateRequest {

    @NotBlank(message = "课程类型不能为空")
    @Schema(description = "课程类型")
    private String lessonType;

    @NotBlank(message = "课程名称不能为空")
    @Schema(description = "课程名称")
    private String name;

    @Schema(description = "课程描述")
    private String description;

    @Schema(description = "时长（分钟）")
    private Integer duration;

    @Schema(description = "视频路径")
    private String videoPath;

    @Schema(description = "视频名称")
    private String videoName;

    @Schema(description = "PPT 路径")
    private String pptPath;

    @Schema(description = "PPT 名称")
    private String pptName;

    @Schema(description = "PDF 路径")
    private String pdfPath;

    @Schema(description = "PDF 名称")
    private String pdfName;

    @Schema(description = "教学目标")
    private String objectives;

    @Schema(description = "教学准备")
    private String preparation;

    @Schema(description = "教学延伸")
    private String extension;

    @Schema(description = "教学反思")
    private String reflection;

    @Schema(description = "评测数据")
    private String assessmentData;

    @Schema(description = "是否使用模板")
    private Boolean useTemplate;
}
