package com.lesingle.edu.dto.response;

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

import java.time.LocalDateTime;

/**
 * 任务完成响应
 * 用于返回任务完成信息给前端
 */
@Data
@Builder
@Schema(description = "任务完成响应")
public class TaskCompletionResponse {

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

    @Schema(description = "任务 ID")
    private Long taskId;

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

    @Schema(description = "完成状态")
    private String status;

    @Schema(description = "完成时间")
    private LocalDateTime completedAt;

    @Schema(description = "完成内容")
    private String content;

    @Schema(description = "附件")
    private String attachments;

    @Schema(description = "评分")
    private Integer rating;

    @Schema(description = "反馈")
    private String feedback;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
