using GxPress.EnumConst; using Datory.Annotations; namespace GxPress.Entity { /// /// 通知 /// [DataTable("tede_notice")] public class Notice : Datory.Entity { /// /// 标题 /// [DataColumn] public string Title { get; set; } /// /// 简单标题 /// /// [DataColumn] public string SimplenessTtile { get; set; } /// /// 用户ID /// [DataColumn] public int UserId { get; set; } /// /// 内容 /// [DataColumn(Text = true)] public string Content { get; set; } /// /// 内容 /// [DataColumn] public string HtmlContent { get; set; } /// /// 用户名 /// [DataColumn] public string UserName { get; set; } /// /// 类型 (1 发送 2 草稿) /// [DataColumn] public NoticeTypeConst NoticeType { get; set; } /// /// 5 通知 6站内信 15 我审批的 16 我发出的 17 抄送我的 18匿名 /// /// [DataColumn] public int TypeValue { get; set; } /// /// 是否删除 /// [DataColumn] public bool IsDelete { get; set; } /// /// 父级ID用于回复 /// [DataColumn] public int ParentId { get; set; } /// /// 是否置顶 /// [DataColumn] public bool IsTop { get; set; } /// /// 来源Id /// [DataColumn] public int SourceId { get; set; } /// /// 子集 /// /// [DataColumn] public int SonId { get; set; } /// ///发起用户名 /// [DataColumn] public int SendUserName { get; set; } /// /// 发起用户名id /// [DataColumn] public string SendUserId { get; set; } /// /// 是否撤回 /// /// [DataColumn] public bool IsRecall { get; set; } } }