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

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

    @Schema(description = "完成记录ID")
    private Long completionId;

    @Schema(description = "评价结果：EXCELLENT/PASSED/NEEDS_WORK")
    private String result;

    @Schema(description = "评价结果文本：优秀/通过/需改进")
    private String resultText;

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

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

    @Schema(description = "教师ID")
    private Long teacherId;

    @Schema(description = "教师姓名")
    private String teacherName;

    @Schema(description = "教师头像")
    private String teacherAvatar;

    @Schema(description = "评价时间")
    private LocalDateTime createdAt;

}
