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 CourseScriptResponse {

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

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

    @Schema(description = "标题")
    private String title;

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

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

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

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