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

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

    @Schema(description = "批改分数")
    private BigDecimal score;

    @Schema(description = "批改评语")
    private String comment;
}
