package com.smartor.domain;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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;
|
|
/**
|
* 管理计划对象 scheme_plan
|
*
|
* @author smartor
|
* @date 2023-03-04
|
*/
|
public class SchemePlan extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 自增ID */
|
private Long id;
|
|
/** 方案ID */
|
@Excel(name = " 方案ID ")
|
private Long schemeid;
|
|
/** 方案代码 */
|
@Excel(name = " 方案代码 ")
|
private String schemecode;
|
|
/** 患者ID */
|
@Excel(name = " 患者ID ")
|
private Long patientid;
|
|
/** 对应记录流水号 */
|
@Excel(name = " 对应记录流水号 ")
|
private String serialnum;
|
|
/** 就诊ID */
|
@Excel(name = " 就诊ID ")
|
private Long visitid;
|
|
/** 就诊类型 */
|
@Excel(name = " 就诊类型 ")
|
private Long visittype;
|
|
/** 状态;0.待开始 1.进行中 9.已结案 */
|
@Excel(name = " 状态;0.待开始 1.进行中 9.已结案 ")
|
private Long state;
|
|
/** 结案时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = " 结案时间 ", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date finshtime;
|
|
/** 来源类型;1.自动生成 2.手动匹配 3.手动添加 3.批量导入 */
|
@Excel(name = " 来源类型;1.自动生成 2.手动匹配 3.手动添加 3.批量导入 ")
|
private Long sourcetype;
|
|
/** 患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无 */
|
@Excel(name = " 患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无 ")
|
private Long patientsource;
|
|
/** 结案类型 */
|
@Excel(name = " 结案类型 ")
|
private Long finshtype;
|
|
/** 结案说明 */
|
@Excel(name = " 结案说明 ")
|
private String finshdesc;
|
|
/** 基线时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = " 基线时间 ", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date basetime;
|
|
/** 机构ID */
|
@Excel(name = " 机构ID ")
|
private String orgid;
|
|
/** 关联表ID */
|
@Excel(name = " 关联表ID ")
|
private Long relationid;
|
|
/** 删除标记 */
|
private String delFlag;
|
|
/** 上传标记 */
|
@Excel(name = " 上传标记 ")
|
private Long isupload;
|
|
/** 上传时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date uploadTime;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setSchemeid(Long schemeid)
|
{
|
this.schemeid = schemeid;
|
}
|
|
public Long getSchemeid()
|
{
|
return schemeid;
|
}
|
public void setSchemecode(String schemecode)
|
{
|
this.schemecode = schemecode;
|
}
|
|
public String getSchemecode()
|
{
|
return schemecode;
|
}
|
public void setPatientid(Long patientid)
|
{
|
this.patientid = patientid;
|
}
|
|
public Long getPatientid()
|
{
|
return patientid;
|
}
|
public void setSerialnum(String serialnum)
|
{
|
this.serialnum = serialnum;
|
}
|
|
public String getSerialnum()
|
{
|
return serialnum;
|
}
|
public void setVisitid(Long visitid)
|
{
|
this.visitid = visitid;
|
}
|
|
public Long getVisitid()
|
{
|
return visitid;
|
}
|
public void setVisittype(Long visittype)
|
{
|
this.visittype = visittype;
|
}
|
|
public Long getVisittype()
|
{
|
return visittype;
|
}
|
public void setState(Long state)
|
{
|
this.state = state;
|
}
|
|
public Long getState()
|
{
|
return state;
|
}
|
public void setFinshtime(Date finshtime)
|
{
|
this.finshtime = finshtime;
|
}
|
|
public Date getFinshtime()
|
{
|
return finshtime;
|
}
|
public void setSourcetype(Long sourcetype)
|
{
|
this.sourcetype = sourcetype;
|
}
|
|
public Long getSourcetype()
|
{
|
return sourcetype;
|
}
|
public void setPatientsource(Long patientsource)
|
{
|
this.patientsource = patientsource;
|
}
|
|
public Long getPatientsource()
|
{
|
return patientsource;
|
}
|
public void setFinshtype(Long finshtype)
|
{
|
this.finshtype = finshtype;
|
}
|
|
public Long getFinshtype()
|
{
|
return finshtype;
|
}
|
public void setFinshdesc(String finshdesc)
|
{
|
this.finshdesc = finshdesc;
|
}
|
|
public String getFinshdesc()
|
{
|
return finshdesc;
|
}
|
public void setBasetime(Date basetime)
|
{
|
this.basetime = basetime;
|
}
|
|
public Date getBasetime()
|
{
|
return basetime;
|
}
|
public void setOrgid(String orgid)
|
{
|
this.orgid = orgid;
|
}
|
|
public String getOrgid()
|
{
|
return orgid;
|
}
|
public void setRelationid(Long relationid)
|
{
|
this.relationid = relationid;
|
}
|
|
public Long getRelationid()
|
{
|
return relationid;
|
}
|
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;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("schemeid", getSchemeid())
|
.append("schemecode", getSchemecode())
|
.append("patientid", getPatientid())
|
.append("serialnum", getSerialnum())
|
.append("visitid", getVisitid())
|
.append("visittype", getVisittype())
|
.append("state", getState())
|
.append("finshtime", getFinshtime())
|
.append("sourcetype", getSourcetype())
|
.append("patientsource", getPatientsource())
|
.append("finshtype", getFinshtype())
|
.append("finshdesc", getFinshdesc())
|
.append("basetime", getBasetime())
|
.append("orgid", getOrgid())
|
.append("relationid", getRelationid())
|
.append("delFlag", getDelFlag())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("isupload", getIsupload())
|
.append("uploadTime", getUploadTime())
|
.toString();
|
}
|
}
|