package com.ruoyi.aicall.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
public class ApiCallTaskModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 任务id */
    private Long batchId;

    /** 外呼任务的业务组 */
    private String groupId;

    /** 任务名称 */
    private String batchName;

    /** 当前任务最大可用外线数 */
    private Long threadNum;

    /** 0 Pure manual outbound call; 1 AI outbound calling; 2 voice call notification. */
    private Integer taskType;

    /** 使用哪条线路外呼 */
    private Long gatewayId;

    /** 大模型底座账号的Id */
    private Integer llmAccountId;

    /** 音色 */
    private String voiceCode;

    /** 音源 */
    private String voiceSource;

    /**
     * tts模型
     */
    private String ttsModels;

    /** 播放次数 */
    private Integer playTimes;

    /** 预估接通率 (百分数格式)*/
    private Integer conntectRate;

    /** The average ringing duration of the call; seconds */
    private Double avgRingTimeLen;

    /** The average pure call duration per call; seconds */
    private Double avgCallTalkTimeLen;

    /** The duration of form filling after the call ends; seconds */
    private Double avgCallEndProcessTimeLen;

    /** aiTransferType */
    private String aiTransferType;

    /** aiTransferData */
    private String aiTransferData;

    /** aiTransferGroupId */
    private String aiTransferGroupId;

    /** aiTransferGatewayId */
    private String aiTransferGatewayId;

    /** aiTransferGatewayDestNumber */
    private String aiTransferGatewayDestNumber;

    /** aiTransferExtNumber */
    private String aiTransferExtNumber;

}
