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-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teacher_course_assignment")
@ApiModel(value="TeacherCourseAssignment对象", description="")
public class TeacherCourseAssignment implements Serializable {

    private static final long serialVersionUID = 1L;

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

    private Long teacherId;

    private Long courseId;

    private Long classId;

    @ApiModelProperty(value = "优先级（1主课,2副课）")
    private Integer priority;

    private Integer maxHoursPerWeek;

    private Integer minHoursPerWeek;

    private String preferredTime;

    private String unavailableTime;

    @ApiModelProperty(value = "实际每周课时数")
    private Integer hoursPerWeek;

    private String semester;

    @ApiModelProperty(value = "0=待安排,1=已安排")
    private Integer status;

    private LocalDateTime createTime;


}
