package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程环节实体
 */
@Schema(description = "课程环节实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("course_lesson")
public class CourseLesson extends BaseEntity {

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

    @Schema(description = "课程类型：INTRODUCTION、LANGUAGE、SOCIETY、SCIENCE、ART、HEALTH")
    private String lessonType;

    @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 = "评测数据（JSON）")
    private String assessmentData;

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

    @Schema(description = "排序号")
    private Integer sortOrder;

}
