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_taskrecord * * @author smartor * @date 2023-03-04 */ public class SchemeTaskrecord extends BaseEntity { private static final long serialVersionUID = 1L; /** 自增ID */ private Long id; /** 类型;0.人工 1.微信 2.短信 3.AI电话 */ @Excel(name = " 类型;0.人工 1.微信 2.短信 3.AI电话 ") private Long recordtype; /** 任务ID */ @Excel(name = " 任务ID ") private Long taskid; /** 结果 */ @Excel(name = " 结果 ") private String result; /** 机构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;问卷结果ID */ @Excel(name = " 关联ID;问卷结果ID ") private Long relationid; /** 渠道类型;默认0 类型为微信/短信时-1.微信 2短信 */ @Excel(name = " 渠道类型;默认0 类型为微信/短信时-1.微信 2短信 ") private Long channeltype; /** 发送时间/外呼时间/随访时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 发送时间/外呼时间/随访时间 ", width = 30, dateFormat = "yyyy-MM-dd") private Date sendtime; /** 操作人/随访人/复核人 */ @Excel(name = " 操作人/随访人/复核人 ") private String operator; /** 回复时间/挂断时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 回复时间/挂断时间 ", width = 30, dateFormat = "yyyy-MM-dd") private Date replytime; /** 复核时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 复核时间 ", width = 30, dateFormat = "yyyy-MM-dd") private Date reviewtime; /** 状态 */ @Excel(name = " 状态 ") private Long state; /** 复核状态;0待复核 1成功 2失败 */ @Excel(name = " 复核状态;0待复核 1成功 2失败 ") private Long reviewstate; /** 关联场景ID */ @Excel(name = " 关联场景ID ") private Long sceneid; /** 标识 */ @Excel(name = " 标识 ") private String uuid; /** 发送的目标号码(AI外呼使用) */ @Excel(name = " 发送的目标号码", readConverterExp = "A=I外呼使用") private String sendphone; /** 是否再次执行 */ @Excel(name = " 是否再次执行 ") private Long isagain; /** 坐席ID */ @Excel(name = " 坐席ID ") private Long seatsid; /** 手动处理类型 */ @Excel(name = " 手动处理类型 ") private Long handletype; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setRecordtype(Long recordtype) { this.recordtype = recordtype; } public Long getRecordtype() { return recordtype; } public void setTaskid(Long taskid) { this.taskid = taskid; } public Long getTaskid() { return taskid; } public void setResult(String result) { this.result = result; } public String getResult() { return result; } 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 setRelationid(Long relationid) { this.relationid = relationid; } public Long getRelationid() { return relationid; } public void setChanneltype(Long channeltype) { this.channeltype = channeltype; } public Long getChanneltype() { return channeltype; } public void setSendtime(Date sendtime) { this.sendtime = sendtime; } public Date getSendtime() { return sendtime; } public void setOperator(String operator) { this.operator = operator; } public String getOperator() { return operator; } public void setReplytime(Date replytime) { this.replytime = replytime; } public Date getReplytime() { return replytime; } public void setReviewtime(Date reviewtime) { this.reviewtime = reviewtime; } public Date getReviewtime() { return reviewtime; } public void setState(Long state) { this.state = state; } public Long getState() { return state; } public void setReviewstate(Long reviewstate) { this.reviewstate = reviewstate; } public Long getReviewstate() { return reviewstate; } public void setSceneid(Long sceneid) { this.sceneid = sceneid; } public Long getSceneid() { return sceneid; } public void setUuid(String uuid) { this.uuid = uuid; } public String getUuid() { return uuid; } public void setSendphone(String sendphone) { this.sendphone = sendphone; } public String getSendphone() { return sendphone; } public void setIsagain(Long isagain) { this.isagain = isagain; } public Long getIsagain() { return isagain; } public void setSeatsid(Long seatsid) { this.seatsid = seatsid; } public Long getSeatsid() { return seatsid; } public void setHandletype(Long handletype) { this.handletype = handletype; } public Long getHandletype() { return handletype; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("recordtype", getRecordtype()) .append("taskid", getTaskid()) .append("result", getResult()) .append("remark", getRemark()) .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("relationid", getRelationid()) .append("channeltype", getChanneltype()) .append("sendtime", getSendtime()) .append("operator", getOperator()) .append("replytime", getReplytime()) .append("reviewtime", getReviewtime()) .append("state", getState()) .append("reviewstate", getReviewstate()) .append("sceneid", getSceneid()) .append("uuid", getUuid()) .append("sendphone", getSendphone()) .append("isagain", getIsagain()) .append("seatsid", getSeatsid()) .append("handletype", getHandletype()) .toString(); } }