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("student_schedule")
@ApiModel(value="StudentSchedule对象", description="学生个人课表")
public class StudentSchedule implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "学生ID")
    private Long studentId;

    @ApiModelProperty(value = "排课项ID")
    private Long scheduleItemId;

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

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

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

    @ApiModelProperty(value = "星期几(1-6)")
    private Integer dayOfWeek;

    @ApiModelProperty(value = "第几节(1-5)")
    private Integer period;

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

    @ApiModelProperty(value = "教师姓名")
    private String teacherName;

    @ApiModelProperty(value = "教室名称")
    private String classroomName;

    @ApiModelProperty(value = "课程类型(必修/选修)")
    private String courseType;

    @ApiModelProperty(value = "学期(如:2025-2026-1)")
    private String semester;

    @ApiModelProperty(value = "周次(1-20)")
    private Integer weekNumber;

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


}
