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;

import java.math.BigDecimal;

@Data
@Schema(description = "创建预设评语DTO")
public class CreatePresetCommentDto {

    @NotNull(message = "赛事ID不能为空")
    @Schema(description = "赛事ID")
    private Long contestId;

    @NotBlank(message = "评语内容不能为空")
    @Schema(description = "评语内容")
    private String content;

    @Schema(description = "关联分数")
    private BigDecimal score;

    @Schema(description = "排序")
    private Integer sortOrder;
}
