package com.competition.modules.biz.review.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 CreateReviewRuleDto {

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

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

    @NotNull(message = "评委人数不能为空")
    @Schema(description = "评委人数")
    private Integer judgeCount;

    @NotNull(message = "评分维度不能为空")
    @Schema(description = "评分维度（JSON数组）")
    private Object dimensions;

    @Schema(description = "计算规则：average/remove_max_min/remove_min/max/weighted")
    private String calculationRule;
}
