package com.lesingle.creation.dto.homework;

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 ReviewDimensionDTO {

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

    @Schema(description = "满分")
    @NotNull(message = "满分不能为空")
    private BigDecimal maxScore;

    @Schema(description = "维度描述")
    private String description;
}
