package com.ruoyi.info.management.domain;

import com.baomidou.mybatisplus.annotation.*;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理老师科室关联对象 tb_teacher_department_rel
 *
 * @author baifc
 * @date 2025-09-30
 */
@Data
@TableName("tb_teacher_department_rel")
@NoArgsConstructor
@AllArgsConstructor
public class TeacherDepartmentRel extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 管理老师id
     */
    private Long teacherId;
    /**
     * 医院id
     */
    private Long hospitalId;
    /**
     * 科室id
     */
    private Long departmentId;
    /**
     * 删除标识(0:未删除，2:已删除)
     */
    @TableLogic
    private String delFlag;

    public TeacherDepartmentRel(Long teacherId, Long hospitalId, Long departmentId) {
        this.teacherId = teacherId;
        this.hospitalId = hospitalId;
        this.departmentId = departmentId;
    }

}
