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-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teacher")
@ApiModel(value="Teacher对象", description="教师信息表")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "教师工号")
    private String teacherNo;

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

    @ApiModelProperty(value = "教师类型(专职/兼职/外聘)")
    private String teacherType;

    @ApiModelProperty(value = "所属学科")
    private String subject;

    @ApiModelProperty(value = "职称")
    private String title;

    @ApiModelProperty(value = "每周最大课时")
    private Integer maxHoursPerWeek;

    @ApiModelProperty(value = "每周最少课时")
    private Integer minHoursPerWeek;

    @ApiModelProperty(value = "负责课程数量")
    private Integer courseCount;

    @ApiModelProperty(value = "特殊规则标识")
    private String specialRule;

    @ApiModelProperty(value = "状态(0=离职,1=在职,2=休假)")
    private Integer status;

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

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


}
