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("student_record")
public class StudentRecord extends BaseEntity {

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

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

    @Schema(description = "出勤状态")
    private String attendance;

    @Schema(description = "表现评价")
    private String performance;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "专注度评分 (1-5)")
    private Integer focus;

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

    @Schema(description = "兴趣度评分 (1-5)")
    private Integer interest;

    @Schema(description = "理解度评分 (1-5)")
    private Integer understanding;

    @Schema(description = "领域达成 (JSON 数组)")
    private String domainAchievements;

}
