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_inspection * * @author ruoyi * @date 2023-06-16 */ @ApiModel(value = "PatMedInspection", description = "患者检查检验记录对象") public class PatMedInspection extends BaseEntity { private static final long serialVersionUID = 1L; /** 自增ID */ @ApiModelProperty(value = "自增ID") private Long id; /** 流水号 */ @Excel(name = " 流水号 ") @ApiModelProperty(value = "流水号") private String serialnum; /** 档案ID */ @Excel(name = " 档案ID ") @ApiModelProperty(value = "档案ID") private Long patid; /** 类型;0.检验项目 1.检查项目 */ @ApiModelProperty(value = "类型;0.检验项目 1.检查项目") @Excel(name = " 类型;0.检验项目 1.检查项目 ") private Long projecttype; /** 项目编号 */ @Excel(name = " 项目编号 ") @ApiModelProperty(value = "项目编号") private String projectcode; /** 项目名称 */ @Excel(name = " 项目名称 ") @ApiModelProperty(value = "项目名称") private String projectname; /** 报告时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 报告时间 ", width = 30, dateFormat = "yyyy-MM-dd") @ApiModelProperty(value = "报告时间") private Date reporttime; /** 医院名称 */ @Excel(name = " 医院名称 ") @ApiModelProperty(value = "医院名称") private String hospitalname; /** 医院编号 */ @Excel(name = " 医院编号 ") @ApiModelProperty(value = "医院编号") private String hospitalcode; /** 机构ID */ @Excel(name = " 机构ID ") @ApiModelProperty(value = "机构ID") private String orgid; /** 删除标记 */ @ApiModelProperty(value = "删除标记") private String delFlag; /** 上传标记 */ @ApiModelProperty(value = "上传标记") @Excel(name = " 上传标记 ") private Long isupload; /** 上传时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd") @ApiModelProperty(value = "上传时间") private Date uploadTime; /** 项目ID */ @Excel(name = " 项目ID ") @ApiModelProperty(value = "项目ID") private Long projectid; /** 申请时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 申请时间 ", width = 30, dateFormat = "yyyy-MM-dd") @ApiModelProperty(value = "申请时间") private Date applicationtime; /** 就诊类型 */ @Excel(name = " 就诊类型 ") @ApiModelProperty(value = "就诊类型") private Long visittype; /** 就诊ID */ @Excel(name = " 就诊ID ") @ApiModelProperty(value = "就诊ID") private Long visitid; /** 是否生成方案状态;0未生成 1生成申请后 2.生成报告后 9无匹配方案 */ @Excel(name = " 是否生成方案状态;0未生成 1生成申请后 2.生成报告后 9无匹配方案 ") @ApiModelProperty(value = "是否生成方案状态;0未生成 1生成申请后 2.生成报告后 9无匹配方案") private Long schemestatus; /** 是否异常;0否 1是 */ @Excel(name = " 是否异常;0否 1是 ") @ApiModelProperty(value = "是否异常;0否 1是") private Long isabnormal; /** 报告结论 */ @Excel(name = " 报告结论 ") @ApiModelProperty(value = "报告结论") private String reportconclusion; /** 方案状态操作时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 方案状态操作时间 ", width = 30, dateFormat = "yyyy-MM-dd") @ApiModelProperty(value = "方案状态操作时间") private Date schemetime; /** 开单科室代码 */ @Excel(name = " 开单科室代码 ") @ApiModelProperty(value = "开单科室代码") private String deptcode; /** 开单科室名称 */ @Excel(name = " 开单科室名称 ") @ApiModelProperty(value = "开单科室名称") private String deptname; /** 开单科室ID */ @Excel(name = " 开单科室ID ") @ApiModelProperty(value = "开单科室ID") private Long deptid; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setSerialnum(String serialnum) { this.serialnum = serialnum; } public String getSerialnum() { return serialnum; } public void setPatid(Long patid) { this.patid = patid; } public Long getPatid() { return patid; } public void setProjecttype(Long projecttype) { this.projecttype = projecttype; } public Long getProjecttype() { return projecttype; } public void setProjectcode(String projectcode) { this.projectcode = projectcode; } public String getProjectcode() { return projectcode; } public void setProjectname(String projectname) { this.projectname = projectname; } public String getProjectname() { return projectname; } public void setReporttime(Date reporttime) { this.reporttime = reporttime; } public Date getReporttime() { return reporttime; } 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 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 setProjectid(Long projectid) { this.projectid = projectid; } public Long getProjectid() { return projectid; } public void setApplicationtime(Date applicationtime) { this.applicationtime = applicationtime; } public Date getApplicationtime() { return applicationtime; } public void setVisittype(Long visittype) { this.visittype = visittype; } public Long getVisittype() { return visittype; } public void setVisitid(Long visitid) { this.visitid = visitid; } public Long getVisitid() { return visitid; } public void setSchemestatus(Long schemestatus) { this.schemestatus = schemestatus; } public Long getSchemestatus() { return schemestatus; } public void setIsabnormal(Long isabnormal) { this.isabnormal = isabnormal; } public Long getIsabnormal() { return isabnormal; } public void setReportconclusion(String reportconclusion) { this.reportconclusion = reportconclusion; } public String getReportconclusion() { return reportconclusion; } public void setSchemetime(Date schemetime) { this.schemetime = schemetime; } public Date getSchemetime() { return schemetime; } 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 setDeptid(Long deptid) { this.deptid = deptid; } public Long getDeptid() { return deptid; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("serialnum", getSerialnum()) .append("patid", getPatid()) .append("projecttype", getProjecttype()) .append("projectcode", getProjectcode()) .append("projectname", getProjectname()) .append("reporttime", getReporttime()) .append("hospitalname", getHospitalname()) .append("hospitalcode", getHospitalcode()) .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("projectid", getProjectid()) .append("applicationtime", getApplicationtime()) .append("visittype", getVisittype()) .append("visitid", getVisitid()) .append("schemestatus", getSchemestatus()) .append("isabnormal", getIsabnormal()) .append("reportconclusion", getReportconclusion()) .append("schemetime", getSchemetime()) .append("deptcode", getDeptcode()) .append("deptname", getDeptname()) .append("deptid", getDeptid()) .toString(); } }