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; /** * AI外呼流程节点对象 ivr_scene_flownode * * @author smartor * @date 2023-03-06 */ public class IvrSceneFlownode extends BaseEntity { private static final long serialVersionUID = 1L; /** 自增ID */ private Long flownodeid; /** 机构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; /** AI外呼场景ID */ @Excel(name = " AI外呼场景ID ") private Long sceneid; /** 流程ID */ @Excel(name = " 流程ID ") private Long flowid; /** 节点类型;0.普通节点 1.跳转节点 2.循环节点 */ @Excel(name = " 节点类型;0.普通节点 1.跳转节点 2.循环节点 ") private Long nodetype; /** 节点名称 */ @Excel(name = " 节点名称 ") private String nodename; /** 停顿时长(ms);1ms-1500ms */ @Excel(name = " 停顿时长", readConverterExp = "m=s") private Long maxsentencesilence; /** 等待时长(s);1s-60s */ @Excel(name = " 等待时长", readConverterExp = "s=") private String waittime; /** 话术类型;循环节点用 0.原节点话术 1.使用新话术 */ @Excel(name = " 话术类型;循环节点用 0.原节点话术 1.使用新话术 ") private Long corpustype; /** 新话术等待时长(s);循环节点用 */ @Excel(name = " 新话术等待时长", readConverterExp = "s=") private String corpuswaittime; /** 最大重复次数;循环节点用 */ @Excel(name = " 最大重复次数;循环节点用 ") private Long maxrepetition; /** 跳转类型;跳转节点用 0.挂机 1.跳转流程 */ @Excel(name = " 跳转类型;跳转节点用 0.挂机 1.跳转流程 ") private Long jumptype; /** 跳转至;跳转节点用 目前放流程ID */ @Excel(name = " 跳转至;跳转节点用 目前放流程ID ") private String jumpto; /** 流程图生成ID */ @Excel(name = " 流程图生成ID ") private String flowcode; /** 跳转目标节点ID */ @Excel(name = " 跳转目标节点ID ") private Long targetid; /** 拷贝ID */ @Excel(name = " 拷贝ID ") private Long oldid; public void setFlownodeid(Long flownodeid) { this.flownodeid = flownodeid; } public Long getFlownodeid() { return flownodeid; } 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 setSceneid(Long sceneid) { this.sceneid = sceneid; } public Long getSceneid() { return sceneid; } public void setFlowid(Long flowid) { this.flowid = flowid; } public Long getFlowid() { return flowid; } public void setNodetype(Long nodetype) { this.nodetype = nodetype; } public Long getNodetype() { return nodetype; } public void setNodename(String nodename) { this.nodename = nodename; } public String getNodename() { return nodename; } public void setMaxsentencesilence(Long maxsentencesilence) { this.maxsentencesilence = maxsentencesilence; } public Long getMaxsentencesilence() { return maxsentencesilence; } public void setWaittime(String waittime) { this.waittime = waittime; } public String getWaittime() { return waittime; } public void setCorpustype(Long corpustype) { this.corpustype = corpustype; } public Long getCorpustype() { return corpustype; } public void setCorpuswaittime(String corpuswaittime) { this.corpuswaittime = corpuswaittime; } public String getCorpuswaittime() { return corpuswaittime; } public void setMaxrepetition(Long maxrepetition) { this.maxrepetition = maxrepetition; } public Long getMaxrepetition() { return maxrepetition; } public void setJumptype(Long jumptype) { this.jumptype = jumptype; } public Long getJumptype() { return jumptype; } public void setJumpto(String jumpto) { this.jumpto = jumpto; } public String getJumpto() { return jumpto; } public void setFlowcode(String flowcode) { this.flowcode = flowcode; } public String getFlowcode() { return flowcode; } public void setTargetid(Long targetid) { this.targetid = targetid; } public Long getTargetid() { return targetid; } public void setOldid(Long oldid) { this.oldid = oldid; } public Long getOldid() { return oldid; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("flownodeid", getFlownodeid()) .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("sceneid", getSceneid()) .append("flowid", getFlowid()) .append("nodetype", getNodetype()) .append("nodename", getNodename()) .append("maxsentencesilence", getMaxsentencesilence()) .append("waittime", getWaittime()) .append("corpustype", getCorpustype()) .append("corpuswaittime", getCorpuswaittime()) .append("maxrepetition", getMaxrepetition()) .append("jumptype", getJumptype()) .append("jumpto", getJumpto()) .append("flowcode", getFlowcode()) .append("targetid", getTargetid()) .append("oldid", getOldid()) .toString(); } }