using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using WX.CRM.Model.Entity; namespace WX.CRM.Model { [Table("UPDEV.MSGTOOL_TASK")] public class MsgToolTask { [Key] public decimal PKID { get; set; } public decimal PLANID { get; set; } [StringLength(200)] public string PLANNAME { get; set; } 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; } [StringLength(20)] public string SENDTYPE { get; set; } public DateTime? PLANEXETIME { get; set; } //计划执行时间 [StringLength(200)] public string PLANEXECYCLE { get; set; } //计划执行周期 [StringLength(20)] public string PLANEXEHOUR { get; set; } //计划执行时间,小时分钟秒(例:8:01:59) public int? CYCLENUMBER { get; set; } //循环次数 public DateTime? DUEDATE { get; set; } //截至时间 public int STATUS { get; set; } //任务状态:180:草稿     220:已分发  70:已取消  80:已过期 public DateTime CTIME { get; set; } public decimal CREATOR { get; set; } //任务发布人(存eid) public decimal RECEIVERID { get; set; } //任务执行人(存eid) public int? ISNOTICE { get; set; } //是否被通知 1:已通知 0:未通知(分发后马上就进行通知) public string REMARK { get; set; } public int TASKTYPE { get; set; } public virtual MsgToolPlan MsgToolPlan { get; set; } public virtual List MsgToolTaskCmds { get; set; } } }