package org.example.entity;

public class HospitalWard {
    private String code;              // 病区代码
    private String outCode;           // 病区外部代码
    private String name;              // 病区名称
    private String address;           // 病区地址
    private String glkeshi;           // 关联科室
    private String telephone;         // 病区电话
    private String director;          // 病区主任医生
    private String headNurse;         // 病区护士长
    private Integer bedCount;         // 编制床位数
    private Integer bedOpenCount;     // 开放床位数
    private Integer sort;             // 排序号
    private Boolean enabled;          // 是否启用
    private String remark;            // 备注

    // Constructors
    public HospitalWard() {}

    public HospitalWard(String code, String outCode, String name, String address, String glkeshi,
                       String telephone, String director, String headNurse, Integer bedCount,
                       Integer bedOpenCount, Integer sort, Boolean enabled, String remark) {
        this.code = code;
        this.outCode = outCode;
        this.name = name;
        this.address = address;
        this.glkeshi = glkeshi;
        this.telephone = telephone;
        this.director = director;
        this.headNurse = headNurse;
        this.bedCount = bedCount;
        this.bedOpenCount = bedOpenCount;
        this.sort = sort;
        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 getGlkeshi() {
        return glkeshi;
    }

    public void setGlkeshi(String glkeshi) {
        this.glkeshi = glkeshi;
    }

    public String getTelephone() {
        return telephone;
    }

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

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getHeadNurse() {
        return headNurse;
    }

    public void setHeadNurse(String headNurse) {
        this.headNurse = headNurse;
    }

    public Integer getBedCount() {
        return bedCount;
    }

    public void setBedCount(Integer bedCount) {
        this.bedCount = bedCount;
    }

    public Integer getBedOpenCount() {
        return bedOpenCount;
    }

    public void setBedOpenCount(Integer bedOpenCount) {
        this.bedOpenCount = bedOpenCount;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    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 "HospitalWard{" +
                "code='" + code + '\'' +
                ", outCode='" + outCode + '\'' +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", glkeshi='" + glkeshi + '\'' +
                ", telephone='" + telephone + '\'' +
                ", director='" + director + '\'' +
                ", headNurse='" + headNurse + '\'' +
                ", bedCount=" + bedCount +
                ", bedOpenCount=" + bedOpenCount +
                ", sort=" + sort +
                ", enabled=" + enabled +
                ", remark='" + remark + '\'' +
                '}';
    }
}