package org.example.entity;

public class HospitalDept {
    private String code;          // 科室代码
    private String outCode;       // 科室外部系统代码
    private String name;          // 科室名称
    private String address;       // 科室地址
    private String telephone;     // 科室电话
    private String introduction;  // 科室介绍
    private Boolean enabled;      // 是否启用
    private String remark;        // 备注

    // Constructors
    public HospitalDept() {}

    public HospitalDept(String code, String outCode, String name, String address, String telephone, 
                       String introduction, Boolean enabled, String remark) {
        this.code = code;
        this.outCode = outCode;
        this.name = name;
        this.address = address;
        this.telephone = telephone;
        this.introduction = introduction;
        this.enabled = enabled;
        this.remark = remark;
    }

    // Getters and Setters
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOutCode() {
        return outCode;
    }

    public void setOutCode(String outCode) {
        this.outCode = outCode;
    }

    public String getName() {
        return name;
    }

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

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "HospitalDept{" +
                "code='" + code + '\'' +
                ", outCode='" + outCode + '\'' +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", telephone='" + telephone + '\'' +
                ", introduction='" + introduction + '\'' +
                ", enabled=" + enabled +
                ", remark='" + remark + '\'' +
                '}';
    }
}