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_taskrepeatconfig * * @author smartor * @date 2023-03-04 */ public class SchemeTaskrepeatconfig 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; /** 任务配置ID */ @Excel(name = " 任务配置ID ") private Long taskconfigid; /** 执行方式;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; /** 执行失败类型;1.外呼失败 2.无回复 */ @Excel(name = " 执行失败类型;1.外呼失败 2.无回复 ") private Long executefailtype; /** 执行失败数值 */ @Excel(name = " 执行失败数值 ") private Long executefailvalue; /** 执行失败单位;1.分钟 2.小时 */ @Excel(name = " 执行失败单位;1.分钟 2.小时 ") private Long executefailunit; /** 执行模板 微信&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 ") 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; 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 setTaskconfigid(Long taskconfigid) { this.taskconfigid = taskconfigid; } public Long getTaskconfigid() { return taskconfigid; } public void setExecutetype(Long executetype) { this.executetype = executetype; } public Long getExecutetype() { return executetype; } public void setExecutefailtype(Long executefailtype) { this.executefailtype = executefailtype; } public Long getExecutefailtype() { return executefailtype; } public void setExecutefailvalue(Long executefailvalue) { this.executefailvalue = executefailvalue; } public Long getExecutefailvalue() { return executefailvalue; } public void setExecutefailunit(Long executefailunit) { this.executefailunit = executefailunit; } public Long getExecutefailunit() { return executefailunit; } 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 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; } @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("taskconfigid", getTaskconfigid()) .append("executetype", getExecutetype()) .append("executefailtype", getExecutefailtype()) .append("executefailvalue", getExecutefailvalue()) .append("executefailunit", getExecutefailunit()) .append("executetemplate", getExecutetemplate()) .append("executetemplateextra", getExecutetemplateextra()) .append("executeorder", getExecuteorder()) .append("executevoicetype", getExecutevoicetype()) .append("executevoicecontent", getExecutevoicecontent()) .append("orgid", getOrgid()) .append("delFlag", getDelFlag()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("isupload", getIsupload()) .append("uploadTime", getUploadTime()) .toString(); } }