package com.lesingle.creation.vo.homework;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 作业提交 VO
 */
@Data
@Schema(description = "作业提交响应")
public class SubmissionVO {

    @Schema(description = "提交 ID")
    private Long id;

    @Schema(description = "作业 ID")
    private Long homeworkId;

    @Schema(description = "学生 ID")
    private Long studentId;

    @Schema(description = "学生姓名")
    private String studentName;

    @Schema(description = "提交内容")
    private String content;

    @Schema(description = "提交附件列表（JSON 数组）")
    private String attachments;

    @Schema(description = "提交状态：submitted/reviewing/returned")
    private String status;

    @Schema(description = "提交时间")
    private LocalDateTime submitTime;

    @Schema(description = "批改时间")
    private LocalDateTime reviewTime;

    @Schema(description = "批改人 ID")
    private Long reviewerId;

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

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