using Hotline.Share.Enums.CallCenter; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XF.Utility.EnumExtensions; namespace Hotline.Share.Dtos.CallCenter { public class CallNativeDto { /// /// 通话记录编号 /// public string CallNo { get; set; } public ECallDirection Direction { get; set; } public string DirectionText => Direction.GetDescription(); /// /// 主叫 /// public string FromNo { get; set; } /// /// 被叫 /// public string ToNo { get; set; } /// /// 响应分机号 /// public string TelNo { get; set; } /// /// 挂断方 /// public EEndBy? EndBy { get; set; } public string? EndByText => EndBy?.GetDescription() ?? string.Empty; /// /// IVR开始时间 /// public DateTime? BeginIvrTime { get; set; } /// /// IVR结束时间 /// public DateTime? EndIvrTime { get; set; } /// /// 开始等待时间 /// public DateTime? BeginQueueTime { get; set; } /// /// 结束等待时间 /// public DateTime? EndQueueTime { get; set; } /// /// 开始振铃时间 /// public DateTime? BeginRingTime { get; set; } /// /// 结束振铃时间 /// public DateTime? EndRingTime { get; set; } /// /// 接听时间 /// public DateTime? AnsweredTime { get; set; } /// /// 挂机时间 /// public DateTime EndTime { get; set; } /// /// 分机组id(技能组Id) /// public string? GroupId { get; set; } /// /// 工号 /// public string? StaffNo { get; set; } /// /// 话务员id /// public string? UserId { get; set; } /// /// 话务员姓名 /// public string? UserName { get; set; } /// /// 评分 /// public int Score { get; set; } /// /// 通话时长(秒) /// public int Duration { get; set; } /// /// 响铃时长(秒) /// public int RingDuration { get; set; } /// /// 等待时长 /// public int WaitDuration { get; set; } /// /// 通话录音 /// public string AudioFile { get; set; } public string? OrderId { get; set; } public string? OrderNo { get; set; } public string? Title { get; set; } } }