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_selection")
@ApiModel(value="ElectiveSelection对象", description="学生选修课选择表")
public class ElectiveSelection 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 courseId;

    @ApiModelProperty(value = "选择优先级(1=第一志愿,2=第二志愿)")
    private Integer priority;

    @ApiModelProperty(value = "是否特长班额外选修(0=否,1=是)")
    private Integer isSpecialClassExtra;

    @ApiModelProperty(value = "状态(0=待确认,1=已确认,2=已排课)")
    private Integer status;

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

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


}
