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

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

import java.math.BigDecimal;

@Data
@Schema(description = "创建作业评分DTO")
public class CreateHomeworkScoreDto {

    @NotNull(message = "提交ID不能为空")
    @Schema(description = "提交ID")
    private Long submissionId;

    @Schema(description = "维度评分（JSON）")
    private Object dimensionScores;

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

    @Schema(description = "评语")
    private String comments;
}
