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

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

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

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

    @Schema(description = "学生姓名")
    private String studentName;

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

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

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