package com.seer.teach.admin.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * <p>
 * 知识点请求参数
 * </p>
 *
 * @author ZS
 * @since 2025-10-24
 */
@Data
@Schema(description = "知识点请求参数")
public class KnowledgePointsReq {

    @Schema(description = "单元ID")
    private Integer unitId;

    @Schema(description = "知识点名称")
    @NotBlank(message = "知识点名称不能为空")
    private String knowledgePointName;

    @Schema(description = "视频脚本")
    private String videoScript;

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

    @Schema(description = "知识点摘要")
    private String summary;

    private Integer gradeType;

    private Integer subjectId;
}