using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CallCenterApi.Interface.Models.Input
{
    public class CallPlanInput
    {
        /// <summary>
        /// 任务Id
        /// </summary>
        public int Id { get; set; } = 0;
        /// <summary>
        /// 任务名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public int Type { get; set; } = 2;
        /// <summary>
        /// 0=并发数; 1=进号速率 
        /// </summary>
        public int ConcurrencyType { get; set; } = 0;
        /// <summary>
        /// 并发数/进号速率
        /// </summary>
        public float Concurrency { get; set; } = 10;
        /// <summary>
        /// 坐席组Id
        /// </summary>
        public int AgentGroupId { get; set; } = 0;
        /// <summary>
        /// 自动语音播放路径
        /// </summary>
        public int RecordPathId { get; set; } = 0;
        /// <summary>
        /// 话术模板Id
        /// </summary>
        public long? PagerId { get; set; }
        /// <summary>
        /// 线路前缀
        /// </summary>
        public string Pre { get; set; } = "9";
        /// <summary>
        /// 任务发送时间
        /// </summary>
        public DateTime? PlanStartDate { get; set; }
        /// <summary>
        /// 任务结束时间
        /// </summary>
        public DateTime? PlanEndDate { get; set; }
        /// <summary>
        /// 生效开始时间段1
        /// </summary>
        public DateTime? StartTime1 { get; set; }
        /// <summary>
        /// 生效结束时间段2
        /// </summary>
        public DateTime? EndTime1 { get; set; }
        /// <summary>
        /// 生效开始时间段2
        /// </summary>
        public DateTime? StartTime2 { get; set; }
        /// <summary>
        /// 生效结束时间段2
        /// </summary>
        public DateTime? EndTime2 { get; set; }
        /// <summary>
        /// 导入类型
        /// </summary>
        public int ImportType { get; set; }
        /// <summary>
        /// 号码段
        /// </summary>
        public string PhoneStr { get; set; } = "";
        /// <summary>
        /// 号码框文本
        /// </summary>
        public string PhoneList { get; set; } = "";
        /// <summary>
        /// 过滤数据源重复号码
        /// </summary>
        public bool CheckFilter1 { get; set; } = false;
        /// <summary>
        /// 过滤前三个月已呼号码
        /// </summary>
        public bool CheckFilter2 { get; set; } = false;
        /// <summary>
        /// 任务分类Id
        /// </summary>
        public int TaskCategoryId { get; set; } = 0;
        /// <summary>
        /// 任务内容
        /// </summary>
        public string TaskContent { get; set; }
        /// <summary>
        /// 是否立即执行，默认false。  立即执行=true; 定时执行=false;
        /// </summary>
        public bool? IsExcuteNow { get; set; } = false;
        /// <summary>
        /// 失败重复次数
        /// </summary>
        public int LoopTime { get; set; } = 0;
    }
}