package com.lesingle.edu.dto.response;

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

import java.time.LocalDateTime;

/**
 * 课程脚本页面响应
 * 用于返回课程脚本页面信息给前端
 */
@Data
@Builder
@Schema(description = "课程脚本页面响应")
public class CourseScriptPageResponse {

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

    @Schema(description = "脚本 ID")
    private Long scriptId;

    @Schema(description = "页码")
    private Integer pageNumber;

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

    @Schema(description = "图片 URL")
    private String imageUrl;

    @Schema(description = "音频 URL")
    private String audioUrl;

    @Schema(description = "时长")
    private Integer duration;

    @Schema(description = "备注")
    private String notes;

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

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