using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ToDoWorker.Dto { public class ToDoItemSetting { /// /// 延迟时间 默认120秒 /// public int? delaytime { get; set; } public int? batchSize { get; set; } = 100; public List setting { get; set; } } public class ToDoItemDeptMap { public int? neweventid { get; set; } /// /// 事件id /// public int? eventid { get; set; } /// /// 大类 /// public string? remark { get; set; } /// /// 小类 /// public string? memo { get; set; } /// /// 模板 /// public string? template { get; set; } /// /// 场景 /// public List scenetype { get; set; } = new List(); /// /// 具体场景 /// public List sceneid { get; set; } = new List(); /// /// 是否通知所有好友 /// public bool allNotice { set; get; } = true; /// /// 用户类型 /// public List userType { get; set; } /// /// 只通知最早的那个客服 /// public bool? firstCtime { get; set; } = true; public List deptids { get; set; } = new List(); /// /// 通知好友关系 /// public bool is_wework { get; set; } = true; /// /// 通知归属关系 /// public bool is_mobile { get; set; } = true; /// /// 通知成交关系 /// public bool is_belong { get; set; } = true; /// /// Appid /// public List appids { get; set; } = new List(); public string? source { get; set; } /// /// 当日唯一健值 /// public string? key { get; set; } /// /// 当日唯一健值 (resid) /// public string? residkey { get; set; } /// /// 没有归属强制插入 /// public bool? isforce { get; set; } = false; } }