package com.lesingle.creation.dto.reviewrule;

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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 创建评审规则请求 DTO
 */
@Data
@Schema(description = "创建评审规则请求")
public class CreateReviewRuleDTO {

    @NotBlank(message = "规则名称不能为空")
    @Schema(description = "规则名称", example = "创意绘画评分标准")
    private String ruleName;

    @Schema(description = "规则类型：default/custom", example = "custom")
    private String ruleType = "custom";

    @Schema(description = "总分", example = "100.00")
    private BigDecimal totalScore = new BigDecimal("100.00");

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