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