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_script_pages")
public class CourseScriptPage extends BaseEntity {

    @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;

}
