using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hg.Core.Entity { [Table("Csvr_Ai_CallTask")] public class CsvrAiCallTask { /// /// Desc:任务ID /// Default: /// Nullable:False /// [Key] public int Id { get; set; } /// /// Desc:机器人编号 /// Default: /// Nullable:True /// public string Robot { get; set; } /// /// Desc:客户ID,号码根据此ID进行查找 /// Default: /// Nullable:True /// public string Resid { get; set; } /// /// Desc:外显号码 /// Default: /// Nullable:True /// public string CallNo { get; set; } /// /// Desc:优先级别1-紧急 2-优先 /// Default: /// Nullable:True /// public string Priority { get; set; } /// /// Desc:机器人参数 /// Default: /// Nullable:True /// public string Props { get; set; } /// /// Desc:应用ID /// Default: /// Nullable:True /// public string AppId { get; set; } /// /// Desc:扩展信息 /// Default: /// Nullable:True /// public string Ext { get; set; } /// /// Desc:目标执行时间:根据这个时间来进行调用新增任务接口 /// Default: /// Nullable:True /// public DateTime? Exetime { get; set; } /// /// Desc:任务状态 0:未执行 1:已执行 2:结果已返回 /// Default: /// Nullable:True /// public int? Status { get; set; } /// /// Desc:创建时间 /// Default: /// Nullable:True /// public DateTime? Ctime { get; set; } /// /// Desc:智能云呼平台任务ID /// Default: /// Nullable:True /// public string PlatSingleTaskId { get; set; } /// /// Desc:结果返回:0:成功 1:失败 2:过期 /// Default: /// Nullable:True /// public string CallRet { get; set; } /// /// Desc:结果返回:若外呼失败,该字段为失败原因 /// Default: /// Nullable:True /// public string RetDesc { get; set; } /// /// Desc:结果返回:外呼开始时间 /// Default: /// Nullable:True /// public DateTime? StartTime { get; set; } /// /// Desc:结果返回:外呼结束时间 /// Default: /// Nullable:True /// public DateTime? EndTime { get; set; } /// /// Desc:结果返回:会话标签json /// Default: /// Nullable:True /// public string Labels { get; set; } /// /// Desc:结果返回:交互记录(jsonlist) /// Default: /// Nullable:True /// public string Interact { get; set; } /// /// Desc:结果返回:全程通话音频 /// Default: /// Nullable:True /// public string Audio { get; set; } /// /// Desc:结果返回:业务参数 /// Default: /// Nullable:True /// public string Content { get; set; } /// /// Desc:修改时间,系统自动更新 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// public DateTime? Utime { get; set; } /// /// Desc:是否发短信提醒0:否,1:是,2:已发 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// public int? Sms { get; set; } /// /// Desc:发短信提醒时间 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// public DateTime? Smstime { get; set; } /// /// 外呼时长 /// public int? SvcTime { get; set; } /// /// 智能外呼状态 /// public int ai_hgrecord_status { get; set; } /// /// 智能外呼状态名称 /// public string ai_hgrecord_statusname { get; set; } /// /// 是否有重拨 /// public int? hascall { get; set; } public int? Rounds { get; set; } } }