using SqlSugar; namespace XingTang.Sdk; [SugarTable("call_cti_trafficlist")] public class XingtangCall { [SugarColumn(IsPrimaryKey = true)] public int Id { get; set; } /// /// 客户id /// public string CustomerId { get; set; } public string CallGuid { get; set; } /// /// 主叫 /// public string Caller { get; set; } /// /// 被叫 /// public string Called { get; set; } /// /// 工号 /// public string UserCode { get; set; } /// /// 分机号 /// public string Ext { get; set; } /// /// 0:呼入,1:呼出 /// public int CallType { get; set; } /// /// 呼叫开始时间 /// public DateTime CallStartTime { get; set; } /// /// 振铃时间 /// public DateTime? ReceiveStartTime { get; set; } /// /// 接听时间 /// public DateTime? ReceiveEndTime { get; set; } /// /// 挂机时间 /// public DateTime CallEndTime { get; set; } /// /// 时长 /// public int Duration { get; set; } /// /// 录音文件 /// public string AudioFile { get; set; } /// /// 等待时长 /// public int WaitTime { get; set; } /// /// 振铃时长 /// public int RingTime { get; set; } /// /// 呼叫状态 0: 留言; 1: 队列等待超时; 2: 坐席振铃超时; 3: 未接; 4: 满意度; 5: 通话; 6: IVR; 7: 振铃挂机; 8: 分机互打挂机; 9: ASR交互; /// public int CallState { get; set; } /// /// 呼出通道号 /// [SugarColumn(ColumnName = "callout_channel")] public int CallOutChannel { get; set; } /// /// 呼入通道号 /// [SugarColumn(ColumnName = "callin_channel")] public int CallInChannel { get; set; } /// /// 进队列时间 /// public DateTime? EnqueueTime { get; set; } /// /// 出队列时间 /// public DateTime? DequeueTime { get; set; } public string? CompanyId { get; set; } public int? SkillId { get; set; } public int? MeetingId { get; set; } /// /// 挂机原因 /// public string? Cause { get; set; } /// /// 挂机方 /// public string? Disposition { get; set; } /// /// 原主叫 /// public string? OrgCaller { get; set; } /// /// 黑名单 /// public int? BlackList { get; set; } /// /// 白名单 /// public int? WhiteList { get; set; } #region 未启用 public int? MutiCall { get; set; } public int? CallForword { get; set; } public DateTime? RingStartTime { get; set; } /// /// 转接号码 /// [SugarColumn(ColumnName = "trans_called")] public string? TransCalled { get; set; } public int? UserListId { get; set; } public int? Score { get; set; } public string? MarkRemark { get; set; } public string? MarkUserId { get; set; } public DateTime? MarkDate { get; set; } public int? MarkState { get; set; } public int? IsAssign { get; set; } public int? ResultKey { get; set; } public int? Direction { get; set; } #endregion #region 自建 public bool IsSync { get; set; } public int Tries { get; set; } [SugarColumn(IsEnableUpdateVersionValidation = true)] public string Ver { get; set; } #endregion } /* 开始响铃时间: 振铃时间 结束响铃时间: 接听时间 */