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_taskconfig * * @author smartor * @date 2023-03-04 */ public class SchemeTaskconfig 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 triggersceneid; /** 触发规则ID */ @Excel(name = " 触发规则ID ") private Long triggerruleid; /** 任务类型;1.随访任务 2.宣教任务 3. 提醒任务 4. 复诊管理任务 5. 复查管理任务 6.其他任务 */ @Excel(name = " 任务类型;1.随访任务 2.宣教任务 3. 提醒任务 4. 复诊管理任务 5. 复查管理任务 6.其他任务 ") private Long tasktype; /** 是否周期任务;0.否 1.是 */ @Excel(name = " 是否周期任务;0.否 1.是 ") private Long iscycle; /** 计划执行时间数值 */ @Excel(name = " 计划执行时间数值 ") private Long planexecutevalue; /** 计划执行时间单位;1.天 2.周 3.月 4.年 */ @Excel(name = " 计划执行时间单位;1.天 2.周 3.月 4.年 ") private Long planexecuteunit; /** 计划执行具体时间 */ @Excel(name = " 计划执行具体时间 ") private String planexecutetime; /** 计划执行类型;1.当天执行 2.第二天按指定时间执行 3.计划时间早于指定时间不执行 */ @Excel(name = " 计划执行类型;1.当天执行 2.第二天按指定时间执行 3.计划时间早于指定时间不执行 ") private Long planexecutetype; /** 计划执行是否实时;0.定时 1.实时 */ @Excel(name = " 计划执行是否实时;0.定时 1.实时 ") private Long isrealtime; /** 周期频率 */ @Excel(name = " 周期频率 ") private Long cyclefrequency; /** 周期频率单位;1.天 2.周 3.月 4.年 */ @Excel(name = " 周期频率单位;1.天 2.周 3.月 4.年 ") private Long cyclefrequencyunit; /** 周期频率次数 */ @Excel(name = " 周期频率次数 ") private Long cyclefrequencycount; /** 有效期天数 */ @Excel(name = " 有效期天数 ") private Long termvalidityday; /** 有效期规则;1.当天 2.提前 3.延迟 4.提前或延迟 */ @Excel(name = " 有效期规则;1.当天 2.提前 3.延迟 4.提前或延迟 ") private Long termvalidityrule; /** 有效期前提醒天数 */ @Excel(name = " 有效期前提醒天数 ") private Long termvaliditytipsday; /** 有效期提醒当天具体时间 */ @Excel(name = " 有效期提醒当天具体时间 ") private String termvaliditytipstime; /** 关联编号 科室&项目 */ @Excel(name = " 关联编号 科室&项目 ") private Long relationid; /** 介绍&提醒内容 */ @Excel(name = " 介绍&提醒内容 ") private String content; /** 提示内容 */ @Excel(name = " 提示内容 ") private String tipscontent; /** 有限期限/天 */ @Excel(name = " 有限期限/天 ") private Long limitedday; /** 逾期判断天数 */ @Excel(name = " 逾期判断天数 ") private Long overdueday; /** 逾期前提醒天数 */ @Excel(name = " 逾期前提醒天数 ") private Long overduetipsday; /** 失访判断天数 */ @Excel(name = " 失访判断天数 ") private Long lossday; /** 执行方式;1.微信/短信 2.AI电话 3.不自动发送 4.微信 5.短信 6.企业微信 7.企业微信群 8.钉钉 9.钉钉群 10.飞书 11.飞书群 */ @Excel(name = " 执行方式;1.微信/短信 2.AI电话 3.不自动发送 4.微信 5.短信 6.企业微信 7.企业微信群 8.钉钉 9.钉钉群 10.飞书 11.飞书群 ") private Long executetype; /** 执行模板 微信&AI外呼模板 */ @Excel(name = " 执行模板 微信&AI外呼模板 ") private Long executetemplate; /** 额外执行模板 短信模板 */ @Excel(name = " 额外执行模板 短信模板 ") private Long executetemplateextra; /** 执行顺序;1.微信优先 2.短信优先 3.同时发送 */ @Excel(name = " 执行顺序;1.微信优先 2.短信优先 3.同时发送 ") private Long executeorder; /** 执行语音类型;1.录音 2.TTS */ @Excel(name = " 执行语音类型;1.录音 2.TTS ") private String executevoicetype; /** 录音文件&TTS参数 */ @Excel(name = " 录音文件&TTS参数 ") private String executevoicecontent; /** 提醒医护人员ID(多选) */ @Excel(name = " 提醒医护人员ID", readConverterExp = "多=选") private String exeutetipspersonid; /** 机构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; /** 是否本地 */ @Excel(name = " 是否本地 ") private Long islocal; /** 关联项目类型;1.检查 2.检验 */ @Excel(name = " 关联项目类型;1.检查 2.检验 ") private Long relationtype; /** 语音合成厂商 */ @Excel(name = " 语音合成厂商 ") private Long voicemanufacturers; /** 语音合成配置 */ @Excel(name = " 语音合成配置 ") private String voiceconfig; /** 完成条件;1通话状态 2复核状态 */ @Excel(name = " 完成条件;1通话状态 2复核状态 ") private Long completecondition; /** 完成条件对应状态 */ @Excel(name = " 完成条件对应状态 ") private Long completeconditionstate; /** 关联编号 科室&项目(多选) */ @Excel(name = " 关联编号 科室&项目(多选) ") private String relationlistid; /** 关联代码 问卷&宣教 */ @Excel(name = " 关联代码 问卷&宣教 ") private String relationcode; /** 是否存在重发标记 */ @Excel(name = " 是否存在重发标记 ") private Long isrepeat; 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 setTriggersceneid(Long triggersceneid) { this.triggersceneid = triggersceneid; } public Long getTriggersceneid() { return triggersceneid; } public void setTriggerruleid(Long triggerruleid) { this.triggerruleid = triggerruleid; } public Long getTriggerruleid() { return triggerruleid; } public void setTasktype(Long tasktype) { this.tasktype = tasktype; } public Long getTasktype() { return tasktype; } public void setIscycle(Long iscycle) { this.iscycle = iscycle; } public Long getIscycle() { return iscycle; } public void setPlanexecutevalue(Long planexecutevalue) { this.planexecutevalue = planexecutevalue; } public Long getPlanexecutevalue() { return planexecutevalue; } public void setPlanexecuteunit(Long planexecuteunit) { this.planexecuteunit = planexecuteunit; } public Long getPlanexecuteunit() { return planexecuteunit; } public void setPlanexecutetime(String planexecutetime) { this.planexecutetime = planexecutetime; } public String getPlanexecutetime() { return planexecutetime; } public void setPlanexecutetype(Long planexecutetype) { this.planexecutetype = planexecutetype; } public Long getPlanexecutetype() { return planexecutetype; } public void setIsrealtime(Long isrealtime) { this.isrealtime = isrealtime; } public Long getIsrealtime() { return isrealtime; } public void setCyclefrequency(Long cyclefrequency) { this.cyclefrequency = cyclefrequency; } public Long getCyclefrequency() { return cyclefrequency; } public void setCyclefrequencyunit(Long cyclefrequencyunit) { this.cyclefrequencyunit = cyclefrequencyunit; } public Long getCyclefrequencyunit() { return cyclefrequencyunit; } public void setCyclefrequencycount(Long cyclefrequencycount) { this.cyclefrequencycount = cyclefrequencycount; } public Long getCyclefrequencycount() { return cyclefrequencycount; } public void setTermvalidityday(Long termvalidityday) { this.termvalidityday = termvalidityday; } public Long getTermvalidityday() { return termvalidityday; } public void setTermvalidityrule(Long termvalidityrule) { this.termvalidityrule = termvalidityrule; } public Long getTermvalidityrule() { return termvalidityrule; } public void setTermvaliditytipsday(Long termvaliditytipsday) { this.termvaliditytipsday = termvaliditytipsday; } public Long getTermvaliditytipsday() { return termvaliditytipsday; } public void setTermvaliditytipstime(String termvaliditytipstime) { this.termvaliditytipstime = termvaliditytipstime; } public String getTermvaliditytipstime() { return termvaliditytipstime; } public void setRelationid(Long relationid) { this.relationid = relationid; } public Long getRelationid() { return relationid; } 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 setLimitedday(Long limitedday) { this.limitedday = limitedday; } public Long getLimitedday() { return limitedday; } public void setOverdueday(Long overdueday) { this.overdueday = overdueday; } public Long getOverdueday() { return overdueday; } public void setOverduetipsday(Long overduetipsday) { this.overduetipsday = overduetipsday; } public Long getOverduetipsday() { return overduetipsday; } public void setLossday(Long lossday) { this.lossday = lossday; } public Long getLossday() { return lossday; } public void setExecutetype(Long executetype) { this.executetype = executetype; } public Long getExecutetype() { return executetype; } public void setExecutetemplate(Long executetemplate) { this.executetemplate = executetemplate; } public Long getExecutetemplate() { return executetemplate; } public void setExecutetemplateextra(Long executetemplateextra) { this.executetemplateextra = executetemplateextra; } public Long getExecutetemplateextra() { return executetemplateextra; } public void setExecuteorder(Long executeorder) { this.executeorder = executeorder; } public Long getExecuteorder() { return executeorder; } public void setExecutevoicetype(String executevoicetype) { this.executevoicetype = executevoicetype; } public String getExecutevoicetype() { return executevoicetype; } public void setExecutevoicecontent(String executevoicecontent) { this.executevoicecontent = executevoicecontent; } public String getExecutevoicecontent() { return executevoicecontent; } public void setExeutetipspersonid(String exeutetipspersonid) { this.exeutetipspersonid = exeutetipspersonid; } public String getExeutetipspersonid() { return exeutetipspersonid; } 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 setIslocal(Long islocal) { this.islocal = islocal; } public Long getIslocal() { return islocal; } public void setRelationtype(Long relationtype) { this.relationtype = relationtype; } public Long getRelationtype() { return relationtype; } public void setVoicemanufacturers(Long voicemanufacturers) { this.voicemanufacturers = voicemanufacturers; } public Long getVoicemanufacturers() { return voicemanufacturers; } public void setVoiceconfig(String voiceconfig) { this.voiceconfig = voiceconfig; } public String getVoiceconfig() { return voiceconfig; } public void setCompletecondition(Long completecondition) { this.completecondition = completecondition; } public Long getCompletecondition() { return completecondition; } public void setCompleteconditionstate(Long completeconditionstate) { this.completeconditionstate = completeconditionstate; } public Long getCompleteconditionstate() { return completeconditionstate; } public void setRelationlistid(String relationlistid) { this.relationlistid = relationlistid; } public String getRelationlistid() { return relationlistid; } public void setRelationcode(String relationcode) { this.relationcode = relationcode; } public String getRelationcode() { return relationcode; } public void setIsrepeat(Long isrepeat) { this.isrepeat = isrepeat; } public Long getIsrepeat() { return isrepeat; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("schemeid", getSchemeid()) .append("triggersceneid", getTriggersceneid()) .append("triggerruleid", getTriggerruleid()) .append("tasktype", getTasktype()) .append("iscycle", getIscycle()) .append("planexecutevalue", getPlanexecutevalue()) .append("planexecuteunit", getPlanexecuteunit()) .append("planexecutetime", getPlanexecutetime()) .append("planexecutetype", getPlanexecutetype()) .append("isrealtime", getIsrealtime()) .append("cyclefrequency", getCyclefrequency()) .append("cyclefrequencyunit", getCyclefrequencyunit()) .append("cyclefrequencycount", getCyclefrequencycount()) .append("termvalidityday", getTermvalidityday()) .append("termvalidityrule", getTermvalidityrule()) .append("termvaliditytipsday", getTermvaliditytipsday()) .append("termvaliditytipstime", getTermvaliditytipstime()) .append("relationid", getRelationid()) .append("content", getContent()) .append("tipscontent", getTipscontent()) .append("limitedday", getLimitedday()) .append("overdueday", getOverdueday()) .append("overduetipsday", getOverduetipsday()) .append("lossday", getLossday()) .append("executetype", getExecutetype()) .append("executetemplate", getExecutetemplate()) .append("executetemplateextra", getExecutetemplateextra()) .append("executeorder", getExecuteorder()) .append("executevoicetype", getExecutevoicetype()) .append("executevoicecontent", getExecutevoicecontent()) .append("exeutetipspersonid", getExeutetipspersonid()) .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("islocal", getIslocal()) .append("relationtype", getRelationtype()) .append("voicemanufacturers", getVoicemanufacturers()) .append("voiceconfig", getVoiceconfig()) .append("completecondition", getCompletecondition()) .append("completeconditionstate", getCompleteconditionstate()) .append("relationlistid", getRelationlistid()) .append("relationcode", getRelationcode()) .append("isrepeat", getIsrepeat()) .toString(); } }