package com.lesingle.edu.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Data;

import java.util.List;

/**
 * 课程反馈提交请求
 */
@Data
@Schema(description = "课程反馈提交请求")
public class LessonFeedbackRequest {

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

    @Schema(description = "总体评分 (1-5)")
    @Min(value = 1, message = "评分最小值为 1")
    @Max(value = 5, message = "评分最大值为 5")
    private Integer rating;

    @Schema(description = "教学设计评分 (1-5)")
    @Min(value = 1, message = "评分最小值为 1")
    @Max(value = 5, message = "评分最大值为 5")
    private Integer designQuality;

    @Schema(description = "学生参与度评分 (1-5)")
    @Min(value = 1, message = "评分最小值为 1")
    @Max(value = 5, message = "评分最大值为 5")
    private Integer participation;

    @Schema(description = "目标达成度评分 (1-5)")
    @Min(value = 1, message = "评分最小值为 1")
    @Max(value = 5, message = "评分最大值为 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;

}
