package com.lesingle.edu.dto.response;

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

import java.time.LocalDateTime;

/**
 * 教学环节响应
 * 用于返回教学环节信息给前端
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "教学环节响应")
public class LessonStepResponse {

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

    @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 = "资源 IDs")
    private String resourceIds;

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

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

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