using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Crm.Core.Entity.MsgTool { /// /// 群发计划表 /// [Table("MSGTOOL_PLAN")] public class MsgToolPlan { public MsgToolPlan() { MsgToolTasks = new List(); MsgToolPlanReceives = new List(); } [Key] public decimal PKID { get; set; } /// /// 计划名称 /// [StringLength(200)] public string? PLANNAME { get; set; } /// /// 大数据人群包ID /// public decimal GROUPID { get; set; } /// /// 大数据人群包名称 /// [StringLength(200)] public string? GROUPNAME { get; set; } /// /// 大数据人群包条件描述 /// [StringLength(500)] public string? GROUPMEMO { get; set; } /// /// 企业微信号 /// [StringLength(200)] public string? CORPIDS { get; set; } /// /// 发送内容 /// [StringLength(4000)] public string? JSONDATA { get; set; } /// /// 发送类型 /// now:立即发布 /// tim:定时发布 /// daily:天循环 /// week:周循环 /// month:月循环 /// [StringLength(20)] public string? SENDTYPE { get; set; } /// /// 执行时间 /// public DateTime? PLANEXETIME { get; set; } /// /// 执行周期 /// [StringLength(200)] public string? PLANEXECYCLE { get; set; } /// /// 计划执行时间,小时分钟秒(例:8:01:59) /// [StringLength(20)] public string? PLANEXEHOUR { get; set; } /// /// 循环次数 /// public decimal? CYCLENUMBER { get; set; } /// /// 截至时间 /// public DateTime? DUEDATE { get; set; } /// /// 计划状态: /// 180:草稿 /// 220:已分发  /// 70:已取消  /// 80:已过期 /// public MsgToolPlanStatus STATUS { get; set; } /// /// 创建时间 /// public DateTime CTIME { get; set; } /// /// 创建人(存eid) /// public decimal? CREATOR { get; set; } public string? REMARK { get; set; } public DateTime? SENDTIME { get; set; } public virtual List MsgToolTasks { get; set; } public virtual List MsgToolPlanReceives { get; set; } } }