using GxPress.EnumConst;
using Datory.Annotations;
namespace GxPress.Entity
{
///
/// 通知
///
[DataTable("tede_notice")]
public class Notice : Datory.Entity
{
///
/// 标题
///
[DataColumn]
public string Title { get; set; }
///
/// 用户ID
///
[DataColumn]
public int UserId { get; set; }
///
/// 内容
///
[DataColumn]
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; }
///
/// 是否删除
///
[DataColumn]
public bool IsDelete { get; set; }
///
/// 文件夹ID
///
[DataColumn]
public int NoticeFolderId { get; set; }
///
/// 是否置顶
///
[DataColumn]
public bool IsTop { get; set; }
///
/// 来源Id
///
[DataColumn]
public int SourceId { get; set; }
}
}