using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Bootstrap.DataAccess { /// /// 消息表实体 /// author:liuchun /// date:2016.11.12 /// public class Message { /// /// 消息主键 数据库自增 /// public int ID { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 内容 /// public string Content { get; set; } /// /// 发消息人 /// public string From { get; set; } /// /// 收消息人 /// public string To { get; set; } /// /// 消息发送时间 /// public DateTime SendTime { get; set; } /// /// 消息状态:0-未读,1-已读 和Dict表的通知消息关联 /// public string Status { get; set; } /// /// 标旗状态:0-未标旗,1-已标旗 /// public int Mark { get; set; } /// /// 删除状态:0-未删除,1-已删除 /// public int IsDelete { get; set; } /// /// 消息标签:0-一般,1-紧要 和Dict表的消息标签关联 /// public string Label { get; set; } /// /// 获得/设置 标签名称 /// public string LabelName { get; set; } /// /// 获得/设置 时间描述 2分钟内为刚刚 /// public string Period { get; set; } } }