package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 讲课稿视频脚本实体
 * </p>
 *
 * @author Lingma
 * @since 2025-12-17
 */
@Getter
@Setter
@TableName("teacher_teach_text_video_scripts")
@Schema(name = "TeachTextVideoScriptEntity对象", description = "讲课稿视频脚本实体")
public class TeachTextVideoScriptEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "讲课稿ID")
    @TableField("text_id")
    private Integer textId;

    @Schema(description = "视频脚本内容")
    @TableField("`script`")
    private String script;

    @Schema(description = "用于生成视频脚本的Python代码")
    @TableField("`python_code`")
    private String pythonCode;

    @Schema(description = "视频URL")
    @TableField("`video_url`")
    private String videoUrl;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "是否默认（0否 1默认）")
    @TableField("`is_default`")
    private Integer isDefault;
}