12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using GxPress.EnumConst;
- using Datory.Annotations;
- namespace GxPress.Entity
- {
- /// <summary>
- /// 通知
- /// </summary>
- [DataTable("tede_notice")]
- public class Notice : Datory.Entity
- {
- /// <summary>
- /// 标题
- /// </summary>
- [DataColumn]
- public string Title { get; set; }
- /// <summary>
- /// 用户ID
- /// </summary>
- [DataColumn]
- public int UserId { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- [DataColumn]
- public string Content { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- [DataColumn]
- public string HtmlContent { get; set; }
- /// <summary>
- /// 用户名
- /// </summary>
- [DataColumn]
- public string UserName { get; set; }
- /// <summary>
- /// 类型 (1 发送 2 草稿)
- /// </summary>
- [DataColumn]
- public NoticeTypeConst NoticeType { get; set; }
- /// <summary>
- /// 是否删除
- /// </summary>
- [DataColumn]
- public bool IsDelete { get; set; }
- /// <summary>
- /// 是否置顶
- /// </summary>
- [DataColumn]
- public bool IsTop { get; set; }
- /// <summary>
- /// 来源Id
- /// </summary>
- [DataColumn]
- public int SourceId { get; set; }
- }
- }
|