package org.example.entity;

public class Patient {
    private String admissionDateTime;     // 入院时间
    private String inpatientNo;           // 住院号
    private String name;                  // 患者姓名
    private String sex;                   // 性别
    private Integer age;                  // 年龄
    private String medicalInsuranceType;// 医保类型
    private String deptCode;              // 所属科室
    private String wardCode;              // 所属病区
    private String roomNo;                // 房间号
    private String bedNo;                 // 床位号
    private String doctorCode;            // 责任医生
    private String nurseCode;             // 责任护士
    private String inpatientSerialNo;     // 住院流水号
    private String deptDateTime;          // 入科时间
    private String dischargedDateTime;    // 出院时间
    private String inpatientStatus;       // 在院状态
    private String diagnose;              // 入院诊断
    private String conditionStatus;       // 病情状况
    private String nurseLevel;            // 护理级别
    private String allergen;              // 过敏信息
    private String dietType;              // 饮食状况
    private String notice;                // 安全防范

    // Constructors
    public Patient() {}

    public Patient(String admissionDateTime, String inpatientNo, String name, String sex, Integer age,
                   String medicalInsuranceType, String deptCode, String wardCode, String roomNo, String bedNo,
                   String doctorCode, String nurseCode, String inpatientSerialNo, String deptDateTime,
                   String dischargedDateTime, String inpatientStatus, String diagnose, String conditionStatus,
                   String nurseLevel, String allergen, String dietType, String notice) {
        this.admissionDateTime = admissionDateTime;
        this.inpatientNo = inpatientNo;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.medicalInsuranceType = medicalInsuranceType;
        this.deptCode = deptCode;
        this.wardCode = wardCode;
        this.roomNo = roomNo;
        this.bedNo = bedNo;
        this.doctorCode = doctorCode;
        this.nurseCode = nurseCode;
        this.inpatientSerialNo = inpatientSerialNo;
        this.deptDateTime = deptDateTime;
        this.dischargedDateTime = dischargedDateTime;
        this.inpatientStatus = inpatientStatus;
        this.diagnose = diagnose;
        this.conditionStatus = conditionStatus;
        this.nurseLevel = nurseLevel;
        this.allergen = allergen;
        this.dietType = dietType;
        this.notice = notice;
    }

    // Getters and Setters
    public String getAdmissionDateTime() {
        return admissionDateTime;
    }

    public void setAdmissionDateTime(String admissionDateTime) {
        this.admissionDateTime = admissionDateTime;
    }

    public String getInpatientNo() {
        return inpatientNo;
    }

    public void setInpatientNo(String inpatientNo) {
        this.inpatientNo = inpatientNo;
    }

    public String getName() {
        return name;
    }

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

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getMedicalInsuranceType() {
        return medicalInsuranceType;
    }

    public void setMedicalInsuranceType(String medicalInsuranceType) {
        this.medicalInsuranceType = medicalInsuranceType;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getWardCode() {
        return wardCode;
    }

    public void setWardCode(String wardCode) {
        this.wardCode = wardCode;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }

    public String getNurseCode() {
        return nurseCode;
    }

    public void setNurseCode(String nurseCode) {
        this.nurseCode = nurseCode;
    }

    public String getInpatientSerialNo() {
        return inpatientSerialNo;
    }

    public void setInpatientSerialNo(String inpatientSerialNo) {
        this.inpatientSerialNo = inpatientSerialNo;
    }

    public String getDeptDateTime() {
        return deptDateTime;
    }

    public void setDeptDateTime(String deptDateTime) {
        this.deptDateTime = deptDateTime;
    }

    public String getDischargedDateTime() {
        return dischargedDateTime;
    }

    public void setDischargedDateTime(String dischargedDateTime) {
        this.dischargedDateTime = dischargedDateTime;
    }

    public String getInpatientStatus() {
        return inpatientStatus;
    }

    public void setInpatientStatus(String inpatientStatus) {
        this.inpatientStatus = inpatientStatus;
    }

    public String getDiagnose() {
        return diagnose;
    }

    public void setDiagnose(String diagnose) {
        this.diagnose = diagnose;
    }

    public String getConditionStatus() {
        return conditionStatus;
    }

    public void setConditionStatus(String conditionStatus) {
        this.conditionStatus = conditionStatus;
    }

    public String getNurseLevel() {
        return nurseLevel;
    }

    public void setNurseLevel(String nurseLevel) {
        this.nurseLevel = nurseLevel;
    }

    public String getAllergen() {
        return allergen;
    }

    public void setAllergen(String allergen) {
        this.allergen = allergen;
    }

    public String getDietType() {
        return dietType;
    }

    public void setDietType(String dietType) {
        this.dietType = dietType;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    @Override
    public String toString() {
        return "Patient{" +
                "admissionDateTime='" + admissionDateTime + '\'' +
                ", inpatientNo='" + inpatientNo + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", medicalInsuranceType='" + medicalInsuranceType + '\'' +
                ", deptCode='" + deptCode + '\'' +
                ", wardCode='" + wardCode + '\'' +
                ", roomNo='" + roomNo + '\'' +
                ", bedNo='" + bedNo + '\'' +
                ", doctorCode='" + doctorCode + '\'' +
                ", nurseCode='" + nurseCode + '\'' +
                ", inpatientSerialNo='" + inpatientSerialNo + '\'' +
                ", deptDateTime='" + deptDateTime + '\'' +
                ", dischargedDateTime='" + dischargedDateTime + '\'' +
                ", inpatientStatus='" + inpatientStatus + '\'' +
                ", diagnose='" + diagnose + '\'' +
                ", conditionStatus='" + conditionStatus + '\'' +
                ", nurseLevel='" + nurseLevel + '\'' +
                ", allergen='" + allergen + '\'' +
                ", dietType='" + dietType + '\'' +
                ", notice='" + notice + '\'' +
                '}';
    }
}