using System; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson; using MadRunFabric.Common; using System.ComponentModel.DataAnnotations; using System.Collections.Generic; namespace MadRunFabric.Model { /// /// 外呼计划 /// public class Call_OutTask : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 任务ID /// public string taskid { get; set; } /// /// 任务名称 /// public string taskname { get; set; } /// /// 任务备注 /// public string taskremark { get; set; } /// /// 问卷ID /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string pagerid { get; set; } /// /// 是否启动:0未启动,1已启动,2暂停,3处理完成,4撤销,5完结 /// public int? isstart { get; set; } /// /// 启动时间 /// public string starttime { get; set; } /// /// 结束时间 /// public string endtime { get; set; } /// /// 是否分配:0未分配,1已分配 /// public int? isallot { get; set; } = 0; /// /// 分配人工号 /// public string allotusercode { get; set; } /// /// 分配时间 /// public DateTime? allottime { get; set; } = DateTime.Now; /// /// 添加人工号 /// public string createusercode { get; set; } /// /// 添加时间 /// public DateTime? createtime { get; set; } = DateTime.Now; /// /// 删除标志:0正常,1删除 /// public int? deleteflag { get; set; } /// /// 任务是否上线:0未上线,1已上线 /// public int? isonline { get; set; } /// /// 工作开始时间1 /// public string workstarttimes1 { get; set; } /// /// 工作结束时间1 /// public string workendtimes1 { get; set; } /// /// 工作开始时间2 /// public string workstarttimes2 { get; set; } /// /// 工作结束时间2 /// public string workendtimes2 { get; set; } /// /// 任务外呼方式:0不播放语音呼通直接转坐席,1播放语音呼通直接转坐席,2播放语音提示按键,按键后转坐席,3为语音群呼不转坐席 /// public int calltype { get; set; } = 0; /// /// 语音文件路径 /// public List voicepath { get; set; }//public string voicepath { get; set; } /// /// 语音文字 /// public string voicestring { get; set; } /// /// 按键值 /// public string pressnum { get; set; } /// /// 并发类型 /// public string bftype { get; set; } /// /// 并发数量 /// public int bfnum { get; set; } = 0; /// /// 参与标志 /// public int joinflag { get; set; } = 0; /// /// 任务量 /// public long totalnum { get; set; } = 0; /// /// 剩余量 /// public long surplusnum { get; set; } = 0; /// /// 接通量 /// public long successnum { get; set; } = 0; /// /// 呼叫量 /// public long callnum { get; set; } = 0; /// /// 坐席数量 /// public long agentnum { get; set; } = 0; /// /// 接通率 /// public string successpercent { get; set; } = "0"; /// /// 坐席接通量 /// public long agentsuccessnum { get; set; } = 0; /// /// 坐席接通率 /// public string agentsuccesspercent { get; set; } = "0"; /// /// 是否已二次执行过 /// public int secondflag { get; set; } = 0; /// /// 是否手动操作 /// public int ishand { get; set; } = 0; /// /// 是否自动外呼任务:0为点击外呼,1为自动外呼,2为语音群呼 /// public int isautocall { get; set; } = 0; } }