package com.ruoyi.dz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老师对象 dz_teacher
 *
 * @author ruoyi
 * @date 2025-09-12
 */
public class DzTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 老师id */
    @Excel(name = "卡号")
    private Long teacherId;
    @Excel(name = "密码")
    private String password2;
    /** 教师姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 用户ID */
    // @Excel(name = "用户ID")
    private Long userId;

    /** 机构ID */
    // @Excel(name = "机构ID")
    private Long deptId;

    /** 代理商ID */
    private Long agentId;

    /** 所在校区 */
    // @Excel(name = "所在校区")
    private Long schoolId;
    //培训校区
    private Long campusId;
    // @Excel(name = "用户名")
    private String username;

    @Excel(name = "所在学校")
    private String schoolName;
    @Excel(name = "所在学校班级")
    private String schoolClass;
    @Excel(name = "培训校区")
    private String campusName;
    @Excel(name = "培训校区班级")
    private String campusClass;

    @Excel(name = "所在机构")
    private String deptName;
    
    @Excel(name = "代理商")
    private String agentName;

    @Excel(name = "组建条件")
    private String buildInfo;
    
    private String status;
    
    /** 学校班级ID列表 */
    private Long[] schoolClassIds;
    
    /** 校区班级ID列表 */
    private Long[] campusClassIds;
    
    /** 合并后的班级ID列表（用于批量关联） */
    private Long[] classIds;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSchoolClass() {
        return schoolClass;
    }

    public void setSchoolClass(String schoolClass) {
        this.schoolClass = schoolClass;
    }

    public String getCampusClass() {
        return campusClass;
    }

    public void setCampusClass(String campusClass) {
        this.campusClass = campusClass;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public String getCampusName() {
        return campusName;
    }

    public void setCampusName(String campusName) {
        this.campusName = campusName;
    }

    public Long getCampusId() {
        return campusId;
    }

    public void setCampusId(Long campusId) {
        this.campusId = campusId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public DzTeacher setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
        return this;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public Long[] getSchoolClassIds() {
        return schoolClassIds;
    }

    public void setSchoolClassIds(Long[] schoolClassIds) {
        this.schoolClassIds = schoolClassIds;
    }

    public Long[] getCampusClassIds() {
        return campusClassIds;
    }

    public void setCampusClassIds(Long[] campusClassIds) {
        this.campusClassIds = campusClassIds;
    }

    public Long[] getClassIds() {
        return classIds;
    }

    public void setClassIds(Long[] classIds) {
        this.classIds = classIds;
    }

    public String getBuildInfo() {
        return buildInfo;
    }

    public void setBuildInfo(String buildInfo) {
        this.buildInfo = buildInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("userId", getUserId())
            .append("schoolId", getSchoolId())
            .append("name", getName())
            .toString();
    }
}
