package com.smartor.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.util.Date;
|
|
/**
|
* 患者用药记录对象 pat_med_drug
|
*
|
* @author ruoyi
|
* @date 2023-06-16
|
*/
|
public class PatMedDrug extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 自增ID */
|
private Long id;
|
|
/** 流水号 */
|
@Excel(name = " 流水号 ")
|
private String serialnum;
|
|
/** 档案ID */
|
@Excel(name = " 档案ID ")
|
private Long patid;
|
|
/** 药品名称 */
|
@Excel(name = " 药品名称 ")
|
private String drugname;
|
|
/** 开方日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = " 开方日期 ", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date opendate;
|
|
/** 药品类型 */
|
@Excel(name = " 药品类型 ")
|
private String drugtype;
|
|
/** 单位 */
|
@Excel(name = " 单位 ")
|
private String unit;
|
|
/** 规格 */
|
@Excel(name = " 规格 ")
|
private String spec;
|
|
/** 用法 */
|
@Excel(name = " 用法 ")
|
private String drugusage;
|
|
/** 剂量 */
|
@Excel(name = " 剂量 ")
|
private String dose;
|
|
/** 机构ID */
|
@Excel(name = " 机构ID ")
|
private String orgid;
|
|
/** 删除标记 */
|
private String delFlag;
|
|
/** 上传标记 */
|
@Excel(name = " 上传标记 ")
|
private Long isupload;
|
|
/** 上传时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date uploadTime;
|
|
/** 药品ID */
|
@Excel(name = " 药品ID ")
|
private Long drugid;
|
|
/** 就诊类型 */
|
@Excel(name = " 就诊类型 ")
|
private Long visittype;
|
|
/** 就诊ID */
|
@Excel(name = " 就诊ID ")
|
private Long visitid;
|
|
/** 是否生成方案状态;0未生成 1生成就诊 9无匹配方案 */
|
@Excel(name = " 是否生成方案状态;0未生成 1生成就诊 9无匹配方案 ")
|
private Long schemestatus;
|
|
/** 方案状态操作时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = " 方案状态操作时间 ", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date schemetime;
|
|
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 setDrugname(String drugname)
|
{
|
this.drugname = drugname;
|
}
|
|
public String getDrugname()
|
{
|
return drugname;
|
}
|
public void setOpendate(Date opendate)
|
{
|
this.opendate = opendate;
|
}
|
|
public Date getOpendate()
|
{
|
return opendate;
|
}
|
public void setDrugtype(String drugtype)
|
{
|
this.drugtype = drugtype;
|
}
|
|
public String getDrugtype()
|
{
|
return drugtype;
|
}
|
public void setUnit(String unit)
|
{
|
this.unit = unit;
|
}
|
|
public String getUnit()
|
{
|
return unit;
|
}
|
public void setSpec(String spec)
|
{
|
this.spec = spec;
|
}
|
|
public String getSpec()
|
{
|
return spec;
|
}
|
public void setDrugusage(String drugusage)
|
{
|
this.drugusage = drugusage;
|
}
|
|
public String getDrugusage()
|
{
|
return drugusage;
|
}
|
public void setDose(String dose)
|
{
|
this.dose = dose;
|
}
|
|
public String getDose()
|
{
|
return dose;
|
}
|
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 setDrugid(Long drugid)
|
{
|
this.drugid = drugid;
|
}
|
|
public Long getDrugid()
|
{
|
return drugid;
|
}
|
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 setSchemetime(Date schemetime)
|
{
|
this.schemetime = schemetime;
|
}
|
|
public Date getSchemetime()
|
{
|
return schemetime;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("serialnum", getSerialnum())
|
.append("patid", getPatid())
|
.append("drugname", getDrugname())
|
.append("opendate", getOpendate())
|
.append("drugtype", getDrugtype())
|
.append("unit", getUnit())
|
.append("spec", getSpec())
|
.append("drugusage", getDrugusage())
|
.append("dose", getDose())
|
.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("drugid", getDrugid())
|
.append("visittype", getVisittype())
|
.append("visitid", getVisitid())
|
.append("schemestatus", getSchemestatus())
|
.append("schemetime", getSchemetime())
|
.toString();
|
}
|
}
|