crm.core/code/Crm.Core.Entity/MsgTool/MsgToolPlan.cs

122 lines
3.0 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}