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_task 
 | 
 *  
 | 
 * @author smartor 
 | 
 * @date 2023-03-04 
 | 
 */ 
 | 
public class SchemeTask extends BaseEntity 
 | 
{ 
 | 
    private static final long serialVersionUID = 1L; 
 | 
  
 | 
    /**  自增ID  */ 
 | 
    private Long id; 
 | 
  
 | 
    /**  方案ID  */ 
 | 
    @Excel(name = " 方案ID ") 
 | 
    private Long schemeid; 
 | 
  
 | 
    /**  计划ID  */ 
 | 
    @Excel(name = " 计划ID ") 
 | 
    private Long schemeplanid; 
 | 
  
 | 
    /**  患者ID  */ 
 | 
    @Excel(name = " 患者ID ") 
 | 
    private Long patientid; 
 | 
  
 | 
    /**  状态;0.待开始 1.进行中 2.已完成 3.失访 9.已关闭  */ 
 | 
    @Excel(name = " 状态;0.待开始 1.进行中 2.已完成 3.失访 9.已关闭 ") 
 | 
    private Long state; 
 | 
  
 | 
    /**  基线时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 基线时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date baselinetime; 
 | 
  
 | 
    /**  计划执行时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 计划执行时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date plantime; 
 | 
  
 | 
    /**  实际完成时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 实际完成时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date actualtime; 
 | 
  
 | 
    /**  逾期时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 逾期时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date overtime; 
 | 
  
 | 
    /**  机构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; 
 | 
  
 | 
    /**  患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无  */ 
 | 
    @Excel(name = " 患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无 ") 
 | 
    private Long patientsource; 
 | 
  
 | 
    /**  配置ID  */ 
 | 
    @Excel(name = " 配置ID ") 
 | 
    private String taskconfigid; 
 | 
  
 | 
    /**  关联编号 科室&项目&问卷&宣教  */ 
 | 
    @Excel(name = " 关联编号 科室&项目&问卷&宣教 ") 
 | 
    private Long relationid; 
 | 
  
 | 
    /**  关联名称  */ 
 | 
    @Excel(name = " 关联名称 ") 
 | 
    private String relationname; 
 | 
  
 | 
    /**  介绍&提醒内容  */ 
 | 
    @Excel(name = " 介绍&提醒内容 ") 
 | 
    private String content; 
 | 
  
 | 
    /**  提示内容  */ 
 | 
    @Excel(name = " 提示内容 ") 
 | 
    private String tipscontent; 
 | 
  
 | 
    /**  任务类型  */ 
 | 
    @Excel(name = " 任务类型 ") 
 | 
    private Long tasktype; 
 | 
  
 | 
    /**  关闭时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 关闭时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date finshtime; 
 | 
  
 | 
    /**  关闭类型;0.自动关闭 1.任务重复 2.患者死亡 3.患者拒绝管理 4.患者配合度不够 5.患者住院 6.其他  */ 
 | 
    @Excel(name = " 关闭类型;0.自动关闭 1.任务重复 2.患者死亡 3.患者拒绝管理 4.患者配合度不够 5.患者住院 6.其他 ") 
 | 
    private Long finshtype; 
 | 
  
 | 
    /**  关闭说明  */ 
 | 
    @Excel(name = " 关闭说明 ") 
 | 
    private String finshdesc; 
 | 
  
 | 
    /**  有效期  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 有效期 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date termvaliditytime; 
 | 
  
 | 
    /**  是否生成方案;0未生成 1生成 9无匹配方案  */ 
 | 
    @Excel(name = " 是否生成方案;0未生成 1生成 9无匹配方案 ") 
 | 
    private Long schemestatus; 
 | 
  
 | 
    /**  就诊ID  */ 
 | 
    @Excel(name = " 就诊ID ") 
 | 
    private Long visitid; 
 | 
  
 | 
    /**  就诊类型  */ 
 | 
    @Excel(name = " 就诊类型 ") 
 | 
    private Long visittype; 
 | 
  
 | 
    /**  任务来源;0.自动创建 1.手动创建  */ 
 | 
    @Excel(name = " 任务来源;0.自动创建 1.手动创建 ") 
 | 
    private Long tasksource; 
 | 
  
 | 
    /**  关联项目类型;1.检查 2.检验  */ 
 | 
    @Excel(name = " 关联项目类型;1.检查 2.检验 ") 
 | 
    private Long relationtype; 
 | 
  
 | 
    /**  是否人工处理;1是 0否  */ 
 | 
    @Excel(name = " 是否人工处理;1是 0否 ") 
 | 
    private Long isartificial; 
 | 
  
 | 
    /**  将逾期时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 将逾期时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date overduetipstime; 
 | 
  
 | 
    /**  是否异常跟进任务;1是 0否  */ 
 | 
    @Excel(name = " 是否异常跟进任务;1是 0否 ") 
 | 
    private Long isabnormal; 
 | 
  
 | 
    /**  已经人工处理标志;1已经人工处理过  0还未进行人工处理  */ 
 | 
    @Excel(name = " 已经人工处理标志;1已经人工处理过  0还未进行人工处理 ") 
 | 
    private Long artificialtag; 
 | 
  
 | 
    /**  关联代码 问卷&宣教  */ 
 | 
    @Excel(name = " 关联代码 问卷&宣教 ") 
 | 
    private String relationcode; 
 | 
  
 | 
    /**  方案代码  */ 
 | 
    @Excel(name = " 方案代码 ") 
 | 
    private String schemecode; 
 | 
  
 | 
    /**  最后一次计划执行时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 最后一次计划执行时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date lastplantime; 
 | 
  
 | 
    /**  是否为测试任务;0.否 1.是  */ 
 | 
    @Excel(name = " 是否为测试任务;0.否 1.是 ") 
 | 
    private Long istest; 
 | 
  
 | 
    /**  第一次计划执行时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 第一次计划执行时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date firstplantime; 
 | 
  
 | 
    /**  重发次数;Null表示无需重发 0表示需要重发 数字表示已经重发了几次  */ 
 | 
    @Excel(name = " 重发次数;Null表示无需重发 0表示需要重发 数字表示已经重发了几次 ") 
 | 
    private Long repeatsecond; 
 | 
  
 | 
    /**  是否存在重发标记  */ 
 | 
    @Excel(name = " 是否存在重发标记 ") 
 | 
    private Long isrepeat; 
 | 
  
 | 
    /**  手动执行标记  */ 
 | 
    @Excel(name = " 手动执行标记 ") 
 | 
    private Long ismanual; 
 | 
  
 | 
    /**  失访时间  */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    @Excel(name = " 失访时间 ", width = 30, dateFormat = "yyyy-MM-dd") 
 | 
    private Date losstime; 
 | 
  
 | 
    /**   */ 
 | 
    @Excel(name = " ") 
 | 
    private String relationlistid; 
 | 
  
 | 
    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 setSchemeplanid(Long schemeplanid)  
 | 
    { 
 | 
        this.schemeplanid = schemeplanid; 
 | 
    } 
 | 
  
 | 
    public Long getSchemeplanid()  
 | 
    { 
 | 
        return schemeplanid; 
 | 
    } 
 | 
    public void setPatientid(Long patientid)  
 | 
    { 
 | 
        this.patientid = patientid; 
 | 
    } 
 | 
  
 | 
    public Long getPatientid()  
 | 
    { 
 | 
        return patientid; 
 | 
    } 
 | 
    public void setState(Long state)  
 | 
    { 
 | 
        this.state = state; 
 | 
    } 
 | 
  
 | 
    public Long getState()  
 | 
    { 
 | 
        return state; 
 | 
    } 
 | 
    public void setBaselinetime(Date baselinetime)  
 | 
    { 
 | 
        this.baselinetime = baselinetime; 
 | 
    } 
 | 
  
 | 
    public Date getBaselinetime()  
 | 
    { 
 | 
        return baselinetime; 
 | 
    } 
 | 
    public void setPlantime(Date plantime)  
 | 
    { 
 | 
        this.plantime = plantime; 
 | 
    } 
 | 
  
 | 
    public Date getPlantime()  
 | 
    { 
 | 
        return plantime; 
 | 
    } 
 | 
    public void setActualtime(Date actualtime)  
 | 
    { 
 | 
        this.actualtime = actualtime; 
 | 
    } 
 | 
  
 | 
    public Date getActualtime()  
 | 
    { 
 | 
        return actualtime; 
 | 
    } 
 | 
    public void setOvertime(Date overtime)  
 | 
    { 
 | 
        this.overtime = overtime; 
 | 
    } 
 | 
  
 | 
    public Date getOvertime()  
 | 
    { 
 | 
        return overtime; 
 | 
    } 
 | 
    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 setPatientsource(Long patientsource)  
 | 
    { 
 | 
        this.patientsource = patientsource; 
 | 
    } 
 | 
  
 | 
    public Long getPatientsource()  
 | 
    { 
 | 
        return patientsource; 
 | 
    } 
 | 
    public void setTaskconfigid(String taskconfigid)  
 | 
    { 
 | 
        this.taskconfigid = taskconfigid; 
 | 
    } 
 | 
  
 | 
    public String getTaskconfigid()  
 | 
    { 
 | 
        return taskconfigid; 
 | 
    } 
 | 
    public void setRelationid(Long relationid)  
 | 
    { 
 | 
        this.relationid = relationid; 
 | 
    } 
 | 
  
 | 
    public Long getRelationid()  
 | 
    { 
 | 
        return relationid; 
 | 
    } 
 | 
    public void setRelationname(String relationname)  
 | 
    { 
 | 
        this.relationname = relationname; 
 | 
    } 
 | 
  
 | 
    public String getRelationname()  
 | 
    { 
 | 
        return relationname; 
 | 
    } 
 | 
    public void setContent(String content)  
 | 
    { 
 | 
        this.content = content; 
 | 
    } 
 | 
  
 | 
    public String getContent()  
 | 
    { 
 | 
        return content; 
 | 
    } 
 | 
    public void setTipscontent(String tipscontent)  
 | 
    { 
 | 
        this.tipscontent = tipscontent; 
 | 
    } 
 | 
  
 | 
    public String getTipscontent()  
 | 
    { 
 | 
        return tipscontent; 
 | 
    } 
 | 
    public void setTasktype(Long tasktype)  
 | 
    { 
 | 
        this.tasktype = tasktype; 
 | 
    } 
 | 
  
 | 
    public Long getTasktype()  
 | 
    { 
 | 
        return tasktype; 
 | 
    } 
 | 
    public void setFinshtime(Date finshtime)  
 | 
    { 
 | 
        this.finshtime = finshtime; 
 | 
    } 
 | 
  
 | 
    public Date getFinshtime()  
 | 
    { 
 | 
        return finshtime; 
 | 
    } 
 | 
    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 setTermvaliditytime(Date termvaliditytime)  
 | 
    { 
 | 
        this.termvaliditytime = termvaliditytime; 
 | 
    } 
 | 
  
 | 
    public Date getTermvaliditytime()  
 | 
    { 
 | 
        return termvaliditytime; 
 | 
    } 
 | 
    public void setSchemestatus(Long schemestatus)  
 | 
    { 
 | 
        this.schemestatus = schemestatus; 
 | 
    } 
 | 
  
 | 
    public Long getSchemestatus()  
 | 
    { 
 | 
        return schemestatus; 
 | 
    } 
 | 
    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 setTasksource(Long tasksource)  
 | 
    { 
 | 
        this.tasksource = tasksource; 
 | 
    } 
 | 
  
 | 
    public Long getTasksource()  
 | 
    { 
 | 
        return tasksource; 
 | 
    } 
 | 
    public void setRelationtype(Long relationtype)  
 | 
    { 
 | 
        this.relationtype = relationtype; 
 | 
    } 
 | 
  
 | 
    public Long getRelationtype()  
 | 
    { 
 | 
        return relationtype; 
 | 
    } 
 | 
    public void setIsartificial(Long isartificial)  
 | 
    { 
 | 
        this.isartificial = isartificial; 
 | 
    } 
 | 
  
 | 
    public Long getIsartificial()  
 | 
    { 
 | 
        return isartificial; 
 | 
    } 
 | 
    public void setOverduetipstime(Date overduetipstime)  
 | 
    { 
 | 
        this.overduetipstime = overduetipstime; 
 | 
    } 
 | 
  
 | 
    public Date getOverduetipstime()  
 | 
    { 
 | 
        return overduetipstime; 
 | 
    } 
 | 
    public void setIsabnormal(Long isabnormal)  
 | 
    { 
 | 
        this.isabnormal = isabnormal; 
 | 
    } 
 | 
  
 | 
    public Long getIsabnormal()  
 | 
    { 
 | 
        return isabnormal; 
 | 
    } 
 | 
    public void setArtificialtag(Long artificialtag)  
 | 
    { 
 | 
        this.artificialtag = artificialtag; 
 | 
    } 
 | 
  
 | 
    public Long getArtificialtag()  
 | 
    { 
 | 
        return artificialtag; 
 | 
    } 
 | 
    public void setRelationcode(String relationcode)  
 | 
    { 
 | 
        this.relationcode = relationcode; 
 | 
    } 
 | 
  
 | 
    public String getRelationcode()  
 | 
    { 
 | 
        return relationcode; 
 | 
    } 
 | 
    public void setSchemecode(String schemecode)  
 | 
    { 
 | 
        this.schemecode = schemecode; 
 | 
    } 
 | 
  
 | 
    public String getSchemecode()  
 | 
    { 
 | 
        return schemecode; 
 | 
    } 
 | 
    public void setLastplantime(Date lastplantime)  
 | 
    { 
 | 
        this.lastplantime = lastplantime; 
 | 
    } 
 | 
  
 | 
    public Date getLastplantime()  
 | 
    { 
 | 
        return lastplantime; 
 | 
    } 
 | 
    public void setIstest(Long istest)  
 | 
    { 
 | 
        this.istest = istest; 
 | 
    } 
 | 
  
 | 
    public Long getIstest()  
 | 
    { 
 | 
        return istest; 
 | 
    } 
 | 
    public void setFirstplantime(Date firstplantime)  
 | 
    { 
 | 
        this.firstplantime = firstplantime; 
 | 
    } 
 | 
  
 | 
    public Date getFirstplantime()  
 | 
    { 
 | 
        return firstplantime; 
 | 
    } 
 | 
    public void setRepeatsecond(Long repeatsecond)  
 | 
    { 
 | 
        this.repeatsecond = repeatsecond; 
 | 
    } 
 | 
  
 | 
    public Long getRepeatsecond()  
 | 
    { 
 | 
        return repeatsecond; 
 | 
    } 
 | 
    public void setIsrepeat(Long isrepeat)  
 | 
    { 
 | 
        this.isrepeat = isrepeat; 
 | 
    } 
 | 
  
 | 
    public Long getIsrepeat()  
 | 
    { 
 | 
        return isrepeat; 
 | 
    } 
 | 
    public void setIsmanual(Long ismanual)  
 | 
    { 
 | 
        this.ismanual = ismanual; 
 | 
    } 
 | 
  
 | 
    public Long getIsmanual()  
 | 
    { 
 | 
        return ismanual; 
 | 
    } 
 | 
    public void setLosstime(Date losstime)  
 | 
    { 
 | 
        this.losstime = losstime; 
 | 
    } 
 | 
  
 | 
    public Date getLosstime()  
 | 
    { 
 | 
        return losstime; 
 | 
    } 
 | 
    public void setRelationlistid(String relationlistid)  
 | 
    { 
 | 
        this.relationlistid = relationlistid; 
 | 
    } 
 | 
  
 | 
    public String getRelationlistid()  
 | 
    { 
 | 
        return relationlistid; 
 | 
    } 
 | 
  
 | 
    @Override 
 | 
    public String toString() { 
 | 
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) 
 | 
            .append("id", getId()) 
 | 
            .append("schemeid", getSchemeid()) 
 | 
            .append("schemeplanid", getSchemeplanid()) 
 | 
            .append("patientid", getPatientid()) 
 | 
            .append("state", getState()) 
 | 
            .append("baselinetime", getBaselinetime()) 
 | 
            .append("plantime", getPlantime()) 
 | 
            .append("actualtime", getActualtime()) 
 | 
            .append("overtime", getOvertime()) 
 | 
            .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("patientsource", getPatientsource()) 
 | 
            .append("taskconfigid", getTaskconfigid()) 
 | 
            .append("relationid", getRelationid()) 
 | 
            .append("relationname", getRelationname()) 
 | 
            .append("content", getContent()) 
 | 
            .append("tipscontent", getTipscontent()) 
 | 
            .append("tasktype", getTasktype()) 
 | 
            .append("finshtime", getFinshtime()) 
 | 
            .append("finshtype", getFinshtype()) 
 | 
            .append("finshdesc", getFinshdesc()) 
 | 
            .append("termvaliditytime", getTermvaliditytime()) 
 | 
            .append("schemestatus", getSchemestatus()) 
 | 
            .append("visitid", getVisitid()) 
 | 
            .append("visittype", getVisittype()) 
 | 
            .append("tasksource", getTasksource()) 
 | 
            .append("relationtype", getRelationtype()) 
 | 
            .append("isartificial", getIsartificial()) 
 | 
            .append("overduetipstime", getOverduetipstime()) 
 | 
            .append("isabnormal", getIsabnormal()) 
 | 
            .append("artificialtag", getArtificialtag()) 
 | 
            .append("relationcode", getRelationcode()) 
 | 
            .append("schemecode", getSchemecode()) 
 | 
            .append("lastplantime", getLastplantime()) 
 | 
            .append("istest", getIstest()) 
 | 
            .append("firstplantime", getFirstplantime()) 
 | 
            .append("repeatsecond", getRepeatsecond()) 
 | 
            .append("isrepeat", getIsrepeat()) 
 | 
            .append("ismanual", getIsmanual()) 
 | 
            .append("losstime", getLosstime()) 
 | 
            .append("relationlistid", getRelationlistid()) 
 | 
            .toString(); 
 | 
    } 
 | 
} 
 |