package com.competition.modules.biz.homework.dto;

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

@Data
@Schema(description = "创建作业评审规则DTO")
public class CreateHomeworkReviewRuleDto {

    @NotBlank(message = "规则名称不能为空")
    @Schema(description = "规则名称")
    private String name;

    @Schema(description = "规则描述")
    private String description;

    @NotNull(message = "评分标准不能为空")
    @Schema(description = "评分标准（JSON数组）")
    private Object criteria;
}
