package com.ruoyi.aicall.model;

import com.alibaba.fastjson.JSONArray;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.json.JSONObject;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ApiCallRecordQueryResult implements Serializable {
    private static final long serialVersionUID = 1L;


    /** 通话唯一标志 */
    private String uuid;

    /** 呼入caller/AI外呼telephone/人工外呼callee */
    private String telephone;

    /** 呼入inboundTime/AI外呼calloutTime/人工外呼startTime */
    private String calloutTime;

    /** 电话应答时间 */
    private String answeredTime;

    /** 呼入hangupTime/AI外呼callEndTime/人工外呼endTime */
    private String callEndTime;

    /** 挂机原因 */
    private String hangupCause;

    /** 录音文件url访问地址 */
    private String wavFileUrl;

    /** 对话内容 */
    private JSONArray dialogue;

    /** 接听电话的分机号码 */
    private String extnum;


    /** 通话时长（秒） */
    private Integer timeLen;

    /** AI外呼的id */
    private String sessionId;

    /** 0. 未拨打, 1. 排队中, 2. 正在拨打  , 3. 未接通 , 6. 成功转接, 7. 线路故障 */
    private Integer callstatus;

    /** 主叫号码 */
    private String callerNumber;

    /** manual agent answered time. */
    private String manualAnsweredTime;

    /** The duration of the manual agent service time. */
    private String manualAnsweredTimeLen;

}
