package com.seer.teach.teacher.common.req;

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

import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-07-31 15:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "题目批改请求实体类")
public class QuestionsCorrectReq {

    @Schema(description = "id")
    @NotNull(message = "id不可为空")
    private Integer id;

    @Schema(description = "type")
    @NotNull(message = "批改类型不可为空")
    private Integer type;

    @Schema(description = "题目数据")
    private List<QuestionCorrectReq> questions;

}
