package com.smartor.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; 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; /** * 患者住院记录对象 pat_med_inhosp * * @author smartor * @date 2023-03-04 */ @ApiModel(value = "PatMedInhosp", description = "患者住院记录对象") public class PatMedInhosp extends BaseEntity { private static final long serialVersionUID = 1L; /** 自增ID */ @ApiModelProperty(value = "自增ID") private Long inhospid; /** 流水号 */ @ApiModelProperty(value = "流水号") private String serialnum; /** 医院名称 */ @ApiModelProperty(value = "医院名称") @Excel(name = " 医院名称 ") private String hospitalname; /** 医院编号 */ @ApiModelProperty(value = "医院编号") private String hospitalcode; /** 院区编号 */ @ApiModelProperty(value = "院区编号") private String hospitaldistrictcode; /** 院区名称 */ @ApiModelProperty(value = "院区名称") @Excel(name = " 院区名称 ") private String hospitaldistrictname; /** 入院诊断ICD值 */ @ApiModelProperty(value = "入院诊断ICD值") private String icd10code; /** 入院诊断名称 */ @ApiModelProperty(value = "入院诊断名称") private String diagname; /** 入院时间 */ @ApiModelProperty(value = "入院时间") @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 入院时间 ", width = 30, dateFormat = "yyyy-MM-dd") private Date starttime; /** 出院时间 */ @ApiModelProperty(value = "出院时间") @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 出院时间 ", width = 30, dateFormat = "yyyy-MM-dd") private Date endtime; /** 入院科室代码 */ @ApiModelProperty(value = "入院科室代码") private String deptcode; /** 入院科室名称 */ @ApiModelProperty(value = "入院科室名称") private String deptname; /** 房间号 */ @ApiModelProperty(value = "房间号") private String roomno; /** 床位号 */ @ApiModelProperty(value = "床位号") @Excel(name = " 床位号 ") private String bedno; /** 机构ID */ @ApiModelProperty(value = "机构ID") @Excel(name = " 机构ID ") private String orgid; /** 删除标记 */ @ApiModelProperty(value = "删除标记") private String delFlag; /** 上传标记 */ @ApiModelProperty(value = "上传标记") private Long isupload; /** 上传时间 */ @ApiModelProperty(value = "上传时间") private Date uploadTime; /** 档案ID */ @ApiModelProperty(value = "档案ID") private Long patid; /** 出院诊断 */ @ApiModelProperty(value = "出院诊断") @Excel(name = " 出院诊断 ") private String leavediagname; /** 出院诊断ICD值 */ @ApiModelProperty(value = "出院诊断ICD值") private String leaveicd10code; /** 医生工号 */ @ApiModelProperty(value = "医生工号") private String drcode; /** 医生名称 */ @ApiModelProperty(value = "医生名称") @Excel(name = " 医生名称 ") private String drname; /** 是否生成方案状态;0未生成 1生成入院 2生成出院 9无匹配方案 */ @ApiModelProperty(value = "是否生成方案状态;0未生成 1生成入院 2生成出院 9无匹配方案") private Long schemestatus; /** 是否生成通用方案状态;0未生成 1生成 9无匹配方案 */ @ApiModelProperty(value = "是否生成通用方案状态;0未生成 1生成 9无匹配方案") private Long generalschemestatus; /** 出院科室代码 */ @ApiModelProperty(value = "出院科室代码") private String leaveldeptcode; /** 出院科室名称 */ @ApiModelProperty(value = "出院科室名称") @Excel(name = " 出院科室名称 ") private String leaveldeptname; /** 病区ID */ @ApiModelProperty(value = "病区ID") private Long hospitaldistrictid; /** 出院病区编号 */ @ApiModelProperty(value = "出院病区编号") private String leavehospitaldistrictcode; /** 出院病区名称 */ @ApiModelProperty(value = "出院病区名称") @Excel(name = " 出院病区名称 ") private String leavehospitaldistrictname; /** 出院病区ID */ @ApiModelProperty(value = "出院病区ID") private Long leavehospitaldistrictid; /** 入院科室ID */ @ApiModelProperty(value = "入院科室ID") private Long deptid; /** 出院科室ID */ @ApiModelProperty(value = "出院科室ID") private Long leaveldeptid; /** 方案状态操作时间 */ @ApiModelProperty(value = "方案状态操作时间") private Date schemetime; public void setInhospid(Long inhospid) { this.inhospid = inhospid; } public Long getInhospid() { return inhospid; } public void setSerialnum(String serialnum) { this.serialnum = serialnum; } public String getSerialnum() { return serialnum; } public void setHospitalname(String hospitalname) { this.hospitalname = hospitalname; } public String getHospitalname() { return hospitalname; } public void setHospitalcode(String hospitalcode) { this.hospitalcode = hospitalcode; } public String getHospitalcode() { return hospitalcode; } public void setHospitaldistrictcode(String hospitaldistrictcode) { this.hospitaldistrictcode = hospitaldistrictcode; } public String getHospitaldistrictcode() { return hospitaldistrictcode; } public void setHospitaldistrictname(String hospitaldistrictname) { this.hospitaldistrictname = hospitaldistrictname; } public String getHospitaldistrictname() { return hospitaldistrictname; } public void setIcd10code(String icd10code) { this.icd10code = icd10code; } public String getIcd10code() { return icd10code; } public void setDiagname(String diagname) { this.diagname = diagname; } public String getDiagname() { return diagname; } public void setStarttime(Date starttime) { this.starttime = starttime; } public Date getStarttime() { return starttime; } public void setEndtime(Date endtime) { this.endtime = endtime; } public Date getEndtime() { return endtime; } public void setDeptcode(String deptcode) { this.deptcode = deptcode; } public String getDeptcode() { return deptcode; } public void setDeptname(String deptname) { this.deptname = deptname; } public String getDeptname() { return deptname; } public void setRoomno(String roomno) { this.roomno = roomno; } public String getRoomno() { return roomno; } public void setBedno(String bedno) { this.bedno = bedno; } public String getBedno() { return bedno; } public void setOrgid(String orgid) { this.orgid = orgid; } public String getOrgid() { return orgid; } public void setDelFlag(String delFlag) { this.delFlag = delFlag; } public String getDelFlag() { return delFlag; } public void setIsupload(Long isupload) { this.isupload = isupload; } public Long getIsupload() { return isupload; } public void setUploadTime(Date uploadTime) { this.uploadTime = uploadTime; } public Date getUploadTime() { return uploadTime; } public void setPatid(Long patid) { this.patid = patid; } public Long getPatid() { return patid; } public void setLeavediagname(String leavediagname) { this.leavediagname = leavediagname; } public String getLeavediagname() { return leavediagname; } public void setLeaveicd10code(String leaveicd10code) { this.leaveicd10code = leaveicd10code; } public String getLeaveicd10code() { return leaveicd10code; } public void setDrcode(String drcode) { this.drcode = drcode; } public String getDrcode() { return drcode; } public void setDrname(String drname) { this.drname = drname; } public String getDrname() { return drname; } public void setSchemestatus(Long schemestatus) { this.schemestatus = schemestatus; } public Long getSchemestatus() { return schemestatus; } public void setGeneralschemestatus(Long generalschemestatus) { this.generalschemestatus = generalschemestatus; } public Long getGeneralschemestatus() { return generalschemestatus; } public void setLeaveldeptcode(String leaveldeptcode) { this.leaveldeptcode = leaveldeptcode; } public String getLeaveldeptcode() { return leaveldeptcode; } public void setLeaveldeptname(String leaveldeptname) { this.leaveldeptname = leaveldeptname; } public String getLeaveldeptname() { return leaveldeptname; } public void setHospitaldistrictid(Long hospitaldistrictid) { this.hospitaldistrictid = hospitaldistrictid; } public Long getHospitaldistrictid() { return hospitaldistrictid; } public void setLeavehospitaldistrictcode(String leavehospitaldistrictcode) { this.leavehospitaldistrictcode = leavehospitaldistrictcode; } public String getLeavehospitaldistrictcode() { return leavehospitaldistrictcode; } public void setLeavehospitaldistrictname(String leavehospitaldistrictname) { this.leavehospitaldistrictname = leavehospitaldistrictname; } public String getLeavehospitaldistrictname() { return leavehospitaldistrictname; } public void setLeavehospitaldistrictid(Long leavehospitaldistrictid) { this.leavehospitaldistrictid = leavehospitaldistrictid; } public Long getLeavehospitaldistrictid() { return leavehospitaldistrictid; } public void setDeptid(Long deptid) { this.deptid = deptid; } public Long getDeptid() { return deptid; } public void setLeaveldeptid(Long leaveldeptid) { this.leaveldeptid = leaveldeptid; } public Long getLeaveldeptid() { return leaveldeptid; } public void setSchemetime(Date schemetime) { this.schemetime = schemetime; } public Date getSchemetime() { return schemetime; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("inhospid", getInhospid()) .append("serialnum", getSerialnum()) .append("hospitalname", getHospitalname()) .append("hospitalcode", getHospitalcode()) .append("hospitaldistrictcode", getHospitaldistrictcode()) .append("hospitaldistrictname", getHospitaldistrictname()) .append("icd10code", getIcd10code()) .append("diagname", getDiagname()) .append("starttime", getStarttime()) .append("endtime", getEndtime()) .append("deptcode", getDeptcode()) .append("deptname", getDeptname()) .append("roomno", getRoomno()) .append("bedno", getBedno()) .append("orgid", getOrgid()) .append("delFlag", getDelFlag()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("isupload", getIsupload()) .append("uploadTime", getUploadTime()) .append("patid", getPatid()) .append("leavediagname", getLeavediagname()) .append("leaveicd10code", getLeaveicd10code()) .append("drcode", getDrcode()) .append("drname", getDrname()) .append("schemestatus", getSchemestatus()) .append("generalschemestatus", getGeneralschemestatus()) .append("leaveldeptcode", getLeaveldeptcode()) .append("leaveldeptname", getLeaveldeptname()) .append("hospitaldistrictid", getHospitaldistrictid()) .append("leavehospitaldistrictcode", getLeavehospitaldistrictcode()) .append("leavehospitaldistrictname", getLeavehospitaldistrictname()) .append("leavehospitaldistrictid", getLeavehospitaldistrictid()) .append("deptid", getDeptid()) .append("leaveldeptid", getLeaveldeptid()) .append("schemetime", getSchemetime()) .toString(); } }