package com.seer.teach.admin.request;

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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * <p>
 * 教学文本请求参数
 * </p>
 *
 * @author Lingma
 * @since 2025-12-04
 */
@Data
@Schema(description = "教学文本请求参数")
public class TeachTextsReq {

    @Schema(description = "教学目标ID")
    @NotNull(message = "教学目标ID不能为空")
    private Integer goalId;

    @Schema(description = "教学方法ID")
    @NotNull(message = "教学方法ID不能为空")
    private Integer methodId;

    @Schema(description = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @Schema(description = "教学文本")
    @NotBlank(message = "教学文本不能为空")
    private String text;

    @Schema(description = "是否默认（0否 1默认）")
    @NotNull(message = "是否默认不能为空")
    private Integer isDefault;

    @Schema(description = "视频脚本不能为空")
    private String videoContent;

    private String pythonScript;

    @Schema(description = "视频URL")
    private String videoUrl;
}