package cn.meowrain.aioj.backend.aiservice.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 生成测试用例请求 DTO
 */
@Data
@Schema(description = "生成测试用例请求")
public class GenerateTestCasesReqDTO {

    @NotBlank(message = "代码不能为空")
    @Schema(description = "代码内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;

    @NotBlank(message = "编程语言不能为空")
    @Schema(description = "编程语言", requiredMode = Schema.RequiredMode.REQUIRED, example = "python")
    private String language;

    @NotBlank(message = "问题描述不能为空")
    @Schema(description = "问题描述", requiredMode = Schema.RequiredMode.REQUIRED)
    private String problemDescription;
}
