using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WX.CRM.Model.DTO { public class QWRecordRequestDto { public string corpid { get; set; } public string internal_user { get; set; } public string external_user { get; set; } public DateTime? msgtime_from { get; set; } public string msgtime_fromStr { get; set; } public DateTime? msgtime_to { get; set; } public string msgtime_toStr { get; set; } public string deptids { get; set; } public string deptid { get; set; } public string eid { get; set; } } public class QWRecordResponseDto { public string corpid { get; set; } public string corpname { get; set; } public string internal_dept_name { get; set; } public string internal_appuserid { get; set; } public string internal_nickname { get; set; } public string internal_eid { get; set; } public string internal_employee_name { get; set; } public string remarkname { get; set; } public string external_appuserid { get; set; } public string external_nickname { get; set; } public string send_type { get; set; } public string callduration { get; set; } public DateTime? start_time { get; set; } public DateTime? end_time { get; set; } public string file_name { get; set; } } public class SpecialPageResult where TData : class { public SpecialPageResult(int currentPage, int pageSize, int total, IList tableData) { CurrentPage = currentPage; PageSize = pageSize; Total = total; TableData = tableData; TotalCount = total == 0 ? 0 : (Total / PageSize) + (Total % PageSize) > 0 ? 1 : 0; } /// /// 页数 /// public int CurrentPage { get; set; } /// /// 分页大小 /// public int PageSize { get; set; } /// /// 总数量 /// public int Total { get; set; } /// /// 分页总数量 /// public int TotalCount { get; set; } /// /// 数据 /// public IList TableData { get; set; } } public class QWRecordExportDto { [DisplayName("企业号")] public string corpname { get; set; } [DisplayName("部门")] public string internal_dept_name { get; set; } [DisplayName("客服ID")] public string internal_appuserid { get; set; } [DisplayName("客服")] public string internal_nickname { get; set; } [DisplayName("客服工号")] public string internal_eid { get; set; } [DisplayName("姓名")] public string internal_employee_name { get; set; } [DisplayName("客服备注姓名")] public string remark { get; set; } [DisplayName("客户ID")] public string external_appuserid { get; set; } [DisplayName("类型")] public string send_type { get; set; } [DisplayName("时长/秒")] public string callduration { get; set; } [DisplayName("开始时间")] public DateTime? start_time { get; set; } [DisplayName("结束时间")] public DateTime? end_time { get; set; } } }