CcCallTask.java 3.4 KB

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