using DataTransmission.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataTransmission.Entity
{
public class CallNative : CreationSoftDeleteEntity
{
///
/// 通话记录编号
///
//[SugarColumn(ColumnDescription = "通话记录编号")]
public string CallNo { get; set; }
///
/// 通话方向
///
//[SugarColumn(ColumnDescription = "通话方向")]
public ECallDirection Direction { get; set; }
///
/// 主叫
///
//[SugarColumn(ColumnDescription = "主叫号码")]
public string FromNo { get; set; }
///
/// 被叫
///
//[SugarColumn(ColumnDescription = "被叫号码")]
public string ToNo { get; set; }
///
/// 响应分机号
///
//[SugarColumn(ColumnDescription = "响应分机号")]
public string TelNo { get; set; }
///
/// 挂断方
///
//[SugarColumn(ColumnDescription = "挂断方")]
public EEndBy? EndBy { get; set; }
///
/// IVR开始时间
///
//[SugarColumn(ColumnDescription = "IVR开始时间")]
public DateTime? BeginIvrTime { get; set; }
///
/// IVR结束时间
///
//[SugarColumn(ColumnDescription = "IVR结束时间")]
public DateTime? EndIvrTime { get; set; }
///
/// 开始等待时间
///
//[SugarColumn(ColumnDescription = "开始等待时间")]
public DateTime? BeginQueueTime { get; set; }
///
/// 结束等待时间
/// 兴唐没值
///
//[SugarColumn(ColumnDescription = "结束等待时间")]
public DateTime? EndQueueTime { get; set; }
///
/// 开始振铃时间
///
//[SugarColumn(ColumnDescription = "开始振铃时间")]
public DateTime? BeginRingTime { get; set; }
///
/// 结束振铃时间
///
//[SugarColumn(ColumnDescription = "结束振铃时间")]
public DateTime? EndRingTime { get; set; }
///
/// 接听时间
///
//[SugarColumn(ColumnDescription = "接听时间")]
public DateTime? AnsweredTime { get; set; }
///
/// 挂机时间
///
//[SugarColumn(ColumnDescription = "挂机时间")]
public DateTime EndTime { get; set; }
///
/// 分机组id(技能组Id)
///
//[SugarColumn(ColumnDescription = "分机组ID")]
public string? GroupId { get; set; }
///
/// 工号
///
//[SugarColumn(ColumnDescription = "工号")]
public string? StaffNo { get; set; }
///
/// 话务员id
///
//[SugarColumn(ColumnDescription = "话务员ID")]
public string? UserId { get; set; }
///
/// 话务员姓名
///
//[SugarColumn(ColumnDescription = "话务员姓名")]
public string? UserName { get; set; }
///
/// 评分
///
//[SugarColumn(ColumnDescription = "评分")]
public int Score { get; set; }
///
/// 通话时长(秒)
///
//[SugarColumn(ColumnDescription = "通话时长(秒)")]
public int Duration { get; set; }
///
/// 响铃时长(秒)
///
//[SugarColumn(ColumnDescription = "响铃时长(秒)")]
public int RingDuration { get; set; }
///
/// 等待时长
///
//[SugarColumn(ColumnDescription = "等待时长")]
public int WaitDuration { get; set; }
///
/// 通话录音
///
//[SugarColumn(ColumnDescription = "通话录音")]
public string AudioFile { get; set; }
///
/// 电话回复内容
///
//[SugarColumn(ColumnDescription = "电话回复内容")]
public string? ReplyTxt { get; set; }
///
/// 转接分机号
///
//[SugarColumn(ColumnDescription = "转接分机号")]
public string? AgentTransferNumber { get; set; }
///
/// 呼叫状态
///
//[SugarColumn(ColumnDescription = "呼叫状态")]
public ECallState? CallState { get; set; }
///
/// 软删除
///
//[SugarColumn(ColumnDescription = "软删除", DefaultValue = "f")]
public bool IsDeleted { get; set; }
}
}