package org.example.entity;

public class HospitalOverview {
    private Long id;
    private String dizhi;     // 地址
    private String dianhua;   // 电话
    private String jieshao;   // 介绍

    // Constructors
    public HospitalOverview() {}

    public HospitalOverview(String dizhi, String dianhua, String jieshao) {
        this.dizhi = dizhi;
        this.dianhua = dianhua;
        this.jieshao = jieshao;
    }

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDizhi() {
        return dizhi;
    }

    public void setDizhi(String dizhi) {
        this.dizhi = dizhi;
    }

    public String getDianhua() {
        return dianhua;
    }

    public void setDianhua(String dianhua) {
        this.dianhua = dianhua;
    }

    public String getJieshao() {
        return jieshao;
    }

    public void setJieshao(String jieshao) {
        this.jieshao = jieshao;
    }

    @Override
    public String toString() {
        return "HospitalOverview{" +
                "id=" + id +
                ", dizhi='" + dizhi + '\'' +
                ", dianhua='" + dianhua + '\'' +
                ", jieshao='" + jieshao + '\'' +
                '}';
    }
}