package com.lesingle.modules.biz.review.dto;

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

import java.math.BigDecimal;

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

    @Schema(description = "活动ID；不传或为 null 表示全局模板（跨活动复用）")
    private Long contestId;

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

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

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