package com.ruoyi.info.management.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

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

/**
 * 管理老师科室关联业务对象 tb_teacher_department_rel
 *
 * @author baifc
 * @date 2025-09-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("管理老师科室关联业务对象")
public class TeacherDepartmentRelBo extends BaseEntity {

    /**
     * id
     */
    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 管理老师id
     */
    @ApiModelProperty(value = "管理老师id", required = true)
    @NotNull(message = "管理老师id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long teacherId;

    /**
     * 医院id
     */
    @ApiModelProperty(value = "医院id", required = true)
    @NotNull(message = "医院id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long hospitalId;

    /**
     * 科室id
     */
    @ApiModelProperty(value = "科室id", required = true)
    @NotNull(message = "科室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long departmentId;


}
