package com.ruoyi.course.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 走班班级表
 * </p>
 *
 * @author xu
 * @since 2025-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("elective_class")
@ApiModel(value="ElectiveClass对象", description="走班班级表")
public class ElectiveClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课程ID")
    private Long courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "走班班级名称")
    private String className;

    @ApiModelProperty(value = "教师ID")
    private Long teacherId;

    @ApiModelProperty(value = "教室ID")
    private Long classroomId;

    @ApiModelProperty(value = "最大学生数")
    private Integer maxStudents;

    @ApiModelProperty(value = "当前学生数")
    private Integer currentStudents;

    @ApiModelProperty(value = "年级范围（高一/高二/高三/全部）")
    private String gradeLevel;

    @ApiModelProperty(value = "上课星期几（1-7）")
    private Integer weekDay;

    @ApiModelProperty(value = "上课节次（1-10）")
    private Integer slotNumber;

    @ApiModelProperty(value = "状态（0=未安排，1=已安排，2=已锁定）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
