package com.ruoyi.course.domain.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 走班班级视图对象
 */
@Data
public class ElectiveClassVO {
    private Long id;
    private Long courseId;
    private String courseName;
    private String courseType;
    private String className;
    private Long teacherId;
    private String teacherName;
    private Long classroomId;
    private String roomName;
    private Integer maxStudents;
    private Integer currentStudents;
    private String gradeLevel;
    private Integer weekDay;
    private Integer slotNumber;
    private String timeRange;          // 上课时间范围
    private Integer status;            // 0=未安排,1=已安排,2=已锁定
    private String statusStr;          // 状态字符串
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 学生列表
    private List<StudentVO> students;
    
    @Data
    public static class StudentVO {
        private Long id;
        private String studentNo;
        private String name;
        private String className;      // 行政班级名称
        private LocalDateTime joinTime; // 加入时间
    }
}