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
///
/// Id
///
public long TaskID { get; set; }
///
/// 分类
///
public int TaskCategoryId { get; set; }
///
/// 名称
///
public string TaskName { get; set; }
///
/// 任务内容
///
public string TaskContent { get; set; }
///
/// 是否立即执行,默认false。 立即执行=true; 定时执行=false;
///
public bool? IsExcuteNow { get; set; }
///
/// 失败重复次数
///
public int LoopTime { get; set; }
///
/// -1.删除
/// 0.待执行
/// 1.处理中
/// 2.暂停
/// 3.处理完成(添加时状态为暂停2,启动任务后状态为0待CTI执行,CTI开始执行这一项的时候状态为1,子项呼叫完后状态改为3))
///
public int? State { get; set; }
public DateTime? AddTime { get; set; }
///
/// 号码总量
///
public int? y_HMCount { get; set; } = 0;
///
/// 已接
///
public int? y_YJCount { get; set; } = 0;
///
/// 线路前缀
///
public string Pre { get; set; }
///
/// 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; }
#endregion Model
}
///
/// 前台绑定,勿改
///
public enum EnumTaskState
{
删除 = -1,
待执行 = 0,
处理中 = 1,
暂停 = 2,
处理完成 = 3
}
}