using CRM.Core.DTO.Ord; using System; using System.Collections.Generic; namespace CRM.Core.DTO { public class CommonRsp { public int ret { get; set; } public string retMsg { get; set; } } public class retMsg { public bool result { get; set; } public int retcode { get; set; } public string retmsg { get; set; } } public class retLoginMsg { public bool result { get; set; } public int retcode { get; set; } public string retmsg { get; set; } public string mytokenKey { get; set; } } public class retMsg { public bool result { get; set; } public int retcode { get; set; } public T retmsg { get; set; } } public class retMsgNew { public bool result { get; set; } public int retcode { get; set; } public T data { get; set; } public string retmsg { get; set; } } public class retMsg { public bool result { get; set; } public int retcode { get; set; } /// /// 描述 /// public string retmsg { get; set; } /// /// 数据列表 /// public List infolist { get; set; } /// /// 分页信息 /// public LaypageDto pageinfo { get; set; } /// /// 汇总信息 /// public T2 sumInfo { get; set; } } public class retMsgOrderDto { public bool result { get; set; } public int retcode { get; set; } public List retmsg { get; set; } } public class retUnBindMsg { public int ret { get; set; } public string msg { get; set; } } public class AiMsgOrderDto { public bool result { get; set; } public int retcode { get; set; } public List retmsg { get; set; } } public class AiConfigrDto { public bool result { get; set; } public int retcode { get; set; } public List retmsg { get; set; } } public class AiAudioRecordDto { public bool result { get; set; } public int retcode { get; set; } public List retmsg { get; set; } } public class AiAudioRecord { public decimal Id { get; set; } public string Robot { get; set; } public string Phone { get; set; } public int? SvcTime { get; set; } public DateTime? StartTime { get; set; } public DateTime? EndTime { get; set; } public string FileName { get; set; } } /// /// 创建订单外呼任务配置 /// public class AI_CallTaskConfigDto { /// /// 订单外呼起始时间 /// public DateTime StartTime { get; set; } = DateTime.Parse("2021-12-01"); /// /// 仅呼叫近几天支付的订单 /// public int CallDay { get; set; } = 7; public List ReCallStatus { get; set; } /// /// //优先级别1-紧急 2-优先 /// public string Priority { get; set; } = "2"; /// /// 最小订单金额 /// public decimal MinAmount { get; set; } = 1m; public List ReCallMins { get; set; } /// /// 同人检查时间,分钟 /// public int SameUserCheckTimeSpanMin { get; set; } = 1; /// /// 呼叫忽略配置 /// // public List IgnoreHitConfigs { get; set; } = new List(); /// /// 呼叫话术 /// //public ProposProductConfig proposProductConfig { get; set; } = new ProposProductConfig(); /// /// 是否发短信1:发, 0:不发 /// public int Sms { get; set; } /// /// 发短信多久后外呼,分钟 /// public int SmsExprieMinCall { get; set; } = 1; public string Robot { get; set; } public string CallNo { get; set; } public string AppId { get; set; } public string RobotName { get; set; } public string Remark { get; set; } /// /// 允许外拨时间段 /// public string HgrecordStime { get; set; } /// /// 允许外拨时间段 /// public string HgrecordEtime { get; set; } } public class AiOrderDto { public decimal ORDERID { get; set; } public string ai_hgrecord_stime { get; set; } public int startTime { get; set; } = -1; public int endTime { get; set; } = -1; public string ai_hgrecord_etime { get; set; } public int? ai_hgrecord_status { get; set; } = -1; /// /// 外呼状态 /// public string ai_hgrecord_statusname { get; set; } public int hasbtn { get; set; } } }