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

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

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

    @Schema(description = "满分")
    private BigDecimal maxScore;
}
