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("lesson_step")
public class LessonStep extends BaseEntity {

    @Schema(description = "课程环节 ID")
    private Long lessonId;

    @Schema(description = "环节名称")
    private String name;

    @Schema(description = "环节内容")
    private String content;

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

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

    @Schema(description = "资源 ID 列表（JSON 数组）")
    private String resourceIds;

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

}
