package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程反馈实体
 */
@Schema(description = "课程反馈实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("lesson_feedback")
public class LessonFeedback extends BaseEntity {

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

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

    @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;

}
