package com.reading.platform.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 学生记录列表响应
 */
@Data
@Schema(description = "学生记录列表响应")
public class StudentRecordListResponse {

    @Schema(description = "课程信息")
    private LessonSimpleInfo lesson;

    @Schema(description = "学生记录列表")
    private List<StudentRecordResponse> students;

    /**
     * 课程简单信息
     */
    @Data
    @Schema(description = "课程简单信息")
    public static class LessonSimpleInfo {
        @Schema(description = "课程 ID")
        private String id;
        @Schema(description = "课程状态")
        private String status;
        @Schema(description = "班级名称")
        private String className;
    }
}
