using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CallCenterApi.Model { /// /// 计划表 /// [Serializable] public partial class T_CTI_Task { public T_CTI_Task() { } #region Model private long _taskid; private string _taskname; private int? _tasktype; private int? _trunkgroupid; private string _callernum; private int? _calltype; private string _exinfo; private int? _maxtrunkcount = 1; private decimal? _intensitycoefficient; private string _itemtablename; private int? _state; private DateTime? _addtime = DateTime.Now; private int? _y_psort; private long? _y_tkmodelid; private int? _y_sxh = 0; private int? _y_fpcount = 0; private int? _y_yjcount = 0; private int? _y_hccount = 0; private int? _y_hscount = 0; private int? _y_htcount = 0; private int? _y_hmcount = 0; private int? _y_okcount = 0; private int? _y_rfcount = 0; private int? _y_conscount = 0; private int? _y_invlcount = 0; private int? _y_noanswercount = 0; private int? _y_shutdowncount = 0; private string _pre = ""; /// /// /// public long TaskID { set { _taskid = value; } get { return _taskid; } } /// /// 计划名称 /// public string TaskName { set { _taskname = value; } get { return _taskname; } } /// /// 计划类型: 点击外呼=1; 预测外呼=2; /// 默认为1 /// public int? TaskType { set { _tasktype = value; } get { return _tasktype; } } /// /// 中继组Id(不同于坐席组) /// public int? TrunkGroupID { set { _trunkgroupid = value; } get { return _trunkgroupid; } } /// /// 外呼时,客户手机显示的号码 /// public string CallerNum { set { _callernum = value; } get { return _callernum; } } /// /// 1.转队列,2.转IVR,3.转电话 /// public int? CallType { set { _calltype = value; } get { return _calltype; } } /// /// 与呼转类型对应,如果是队列,则为队列号;如果是IVR,则是IVR编号;如果是电话,则是电话号。 /// public string ExInfo { set { _exinfo = value; } get { return _exinfo; } } /// /// 最大并发数 /// public int? MaxTrunkCount { set { _maxtrunkcount = value; } get { return _maxtrunkcount; } } /// /// 呼叫强度当“呼叫类型”为转队列时,或者IVR最终转移到有效队列 /// public decimal? IntensityCoefficient { set { _intensitycoefficient = value; } get { return _intensitycoefficient; } } /// /// 任务项所在的表名(T_CTI_CallResultX) /// public string ItemTableName { set { _itemtablename = value; } get { return _itemtablename; } } /// /// -1.删除 /// 0.待执行 /// 1.处理中 /// 2.暂停 /// 3.处理完成(添加时状态为暂停2,启动任务后状态为0待CTI执行,CTI开始执行这一项的时候状态为1,子项呼叫完后状态改为3)) /// public int? State { set { _state = value; } get { return _state; } } /// /// /// public DateTime? AddTime { set { _addtime = value; } get { return _addtime; } } /// /// 营销计划外呼方式(0:自动外呼;1:预测外呼) /// public int? y_PSort { set { _y_psort = value; } get { return _y_psort; } } /// /// 话术模板Id /// public long? y_TkModelId { set { _y_tkmodelid = value; } get { return _y_tkmodelid; } } /// /// 页面显示顺序号 /// public int? y_SXH { set { _y_sxh = value; } get { return _y_sxh; } } /// /// 分配量 /// public int? y_FPCount { set { _y_fpcount = value; } get { return _y_fpcount; } } /// /// 接通量 /// public int? y_YJCount { set { _y_yjcount = value; } get { return _y_yjcount; } } /// /// 呼出量 /// public int? y_HCCount { set { _y_hccount = value; } get { return _y_hccount; } } /// /// 呼损量 /// public int? y_HSCount { set { _y_hscount = value; } get { return _y_hscount; } } /// /// 呼通量 /// public int? y_HTCount { set { _y_htcount = value; } get { return _y_htcount; } } /// /// 号码量 /// public int? y_HMCount { set { _y_hmcount = value; } get { return _y_hmcount; } } /// /// 成功数量 /// public int? y_OkCount { set { _y_okcount = value; } get { return _y_okcount; } } /// /// 拒绝数量 /// public int? y_RFCount { set { _y_rfcount = value; } get { return _y_rfcount; } } /// /// 考虑数量 /// public int? y_ConsCount { set { _y_conscount = value; } get { return _y_conscount; } } /// /// 无效号码数量 /// public int? y_InvlCount { set { _y_invlcount = value; } get { return _y_invlcount; } } /// /// 无人接听 /// public int? y_NoAnswerCount { set { _y_noanswercount = value; } get { return _y_noanswercount; } } /// /// 关机数量 /// public int? y_ShutDownCount { set { _y_shutdowncount = value; } get { return _y_shutdowncount; } } /// /// 线路前缀 /// public string Pre { set { _pre = value; } get { return _pre; } } /// /// 0=并发数; 1=进号速率 /// public int ConcurrencyType { get; set; } /// /// 并发数/进号速率 /// public float Concurrency { get; set; } /// /// 任务发送时间 /// public DateTime PlanStartDate { get; set; } /// /// 任务结束时间 /// public DateTime PlanEndDate { get; set; } /// /// 生效开始时间段1 /// public DateTime StartTime1 { get; set; } /// /// 生效结束时间段2 /// public DateTime EndTime1 { get; set; } /// /// 生效开始时间段2 /// public DateTime StartTime2 { get; set; } /// /// 生效结束时间段2 /// public DateTime EndTime2 { get; set; } /// /// 坐席组Id /// public int AgentGroupId { get; set; } #endregion Model } /// /// 前台绑定,勿改 /// public enum EnumTaskState { 删除 = -1, 待执行 = 0, 处理中 = 1, 暂停 = 2, 处理完成 = 3 } }