CcCallTask.java 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. package com.ruoyi.aicall.domain;
  2. import com.fasterxml.jackson.annotation.JsonInclude;
  3. import lombok.Data;
  4. import lombok.experimental.Accessors;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import com.ruoyi.common.annotation.Excel;
  8. import com.ruoyi.common.core.domain.BaseEntity;
  9. import java.io.Serializable;
  10. import java.util.HashMap;
  11. import java.util.Map;
  12. /**
  13. * 外呼任务对象 cc_call_task
  14. *
  15. * @author ruoyi
  16. * @date 2025-05-29
  17. */
  18. @Data
  19. @Accessors(chain = true)
  20. public class CcCallTask implements Serializable {
  21. private static final long serialVersionUID = 1L;
  22. /** */
  23. private Long batchId;
  24. /** 外呼任务的业务组 */
  25. @Excel(name = "外呼任务的业务组")
  26. private String groupId;
  27. /** */
  28. @Excel(name = "")
  29. private String batchName;
  30. /** 是否启动任务, 1 启动, 0 停止 */
  31. @Excel(name = "是否启动任务, 1 启动, 0 停止")
  32. private Integer ifcall;
  33. /** 外呼速率 */
  34. @Excel(name = "外呼速率")
  35. private Double rate;
  36. /** 当前任务最大可用外线数 */
  37. @Excel(name = "当前任务最大可用外线数")
  38. private Long threadNum;
  39. /** 创建时间 */
  40. @Excel(name = "创建时间")
  41. private Long createtime;
  42. /** 任务是否正在执行; */
  43. @Excel(name = "任务是否正在执行;")
  44. private Long executing;
  45. /** 任务停止时间 */
  46. @Excel(name = "任务停止时间")
  47. private Long stopTime;
  48. /** 任务创建者用户id */
  49. @Excel(name = "任务创建者用户id")
  50. private String userid;
  51. /** 0 Pure manual outbound call; 1 AI outbound calling; 2 voice call notification. */
  52. @Excel(name = "0 Pure manual outbound call; 1 AI outbound calling; 2 voice call notification.")
  53. private Integer taskType;
  54. /** 使用哪条线路外呼 */
  55. @Excel(name = "使用哪条线路外呼")
  56. private Long gatewayId;
  57. /** 音色 */
  58. @Excel(name = "音色")
  59. private String voiceCode;
  60. /** 音源 */
  61. @Excel(name = "音源")
  62. private String voiceSource;
  63. /** The average ringing duration of the call; seconds */
  64. @Excel(name = "The average ringing duration of the call; seconds")
  65. private Double avgRingTimeLen;
  66. /** The average pure call duration per call; seconds */
  67. @Excel(name = "The average pure call duration per call; seconds")
  68. private Double avgCallTalkTimeLen;
  69. /** The duration of form filling after the call ends; seconds */
  70. @Excel(name = "The duration of form filling after the call ends; seconds")
  71. private Double avgCallEndProcessTimeLen;
  72. /** 外呼节点 */
  73. @Excel(name = "外呼节点")
  74. private String callNodeNo;
  75. /** 大模型底座账号的Id */
  76. @Excel(name = "大模型底座账号的Id")
  77. private Integer llmAccountId;
  78. /** 播放次数 */
  79. @Excel(name = "播放次数")
  80. private Integer playTimes;
  81. /** 请求参数 */
  82. @JsonInclude(JsonInclude.Include.NON_EMPTY)
  83. private Map<String, Object> params = new HashMap<>();
  84. /** 总名单量 */
  85. private Integer phoneCount;
  86. /** 未拨打名单量 */
  87. private Integer noCallCount;
  88. /** 已拨打名单量 */
  89. private Integer callCount;
  90. /** 接通名单量 */
  91. private Integer connectCount;
  92. /** 未接通名单量 */
  93. private Integer noConnectCount;
  94. /** 实际接通率 */
  95. private Double realConnectRate;
  96. /** 预估接通率 (百分数格式)*/
  97. @Excel(name = "预估接通率")
  98. private Integer conntectRate;
  99. // /** tts provider */
  100. // private String provider;
  101. /** tts provider */
  102. private String asrProvider;
  103. /** aiTransferType */
  104. private String aiTransferType;
  105. /** aiTransferData */
  106. private String aiTransferData;
  107. /** aiTransferGroupId */
  108. private String aiTransferGroupId;
  109. /** aiTransferGatewayId */
  110. private String aiTransferGatewayId;
  111. /** aiTransferGatewayDestNumber */
  112. private String aiTransferGatewayDestNumber;
  113. /** aiTransferExtNumber */
  114. private String aiTransferExtNumber;
  115. /** 播放次数 */
  116. @Excel(name = "播放次数")
  117. private Integer autoStop;
  118. /** ivrId */
  119. private String ivrId;
  120. /** 是否允许删除 */
  121. private Integer allowDel;
  122. /** Language of the asr */
  123. private String asrLanguageCode;
  124. /** Language of the tts */
  125. private String ttsLanguageCode;
  126. /** Models of the asr */
  127. private String asrModels;
  128. /** Models of the voice */
  129. private String ttsModels;
  130. }