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

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

    @Schema(description = "课程 ID")
    private Long lessonId;

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

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

    @Schema(description = "反馈内容")
    private String content;

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

    @Schema(description = "教学设计评分 (1-5)")
    private Integer designQuality;

    @Schema(description = "学生参与度评分 (1-5)")
    private Integer participation;

    @Schema(description = "目标达成度评分 (1-5)")
    private Integer goalAchievement;

    @Schema(description = "各步骤反馈 (JSON 数组)")
    private String stepFeedbacks;

    @Schema(description = "优点")
    private String pros;

    @Schema(description = "建议")
    private String suggestions;

    @Schema(description = "已完成的活动")
    private String activitiesDone;

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

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