using System; using System.Data; namespace DSWeb.Models { public class MessageTotalEntity { #region 私有成员 private string _gid;//主键唯一值 private int _read_total;//已读消息总数 private int _unread_total;//未读消息总数 private int _total;//消息总数 private string _receiver;//消息接收人 #endregion public MessageTotalEntity() { } #region 读写属性 /// /// 主键唯一值 /// public string GID { get { return _gid; } set { _gid = value; } } /// /// 已读消息总数 /// public int ReadTotal { get { return _read_total; } set { _read_total = value; } } /// /// 未读消息总数 /// public int UnreadTotal { get { return _unread_total; } set { _unread_total = value; } } /// /// 消息总数 /// public int Total { get { return _total; } set { _total = value; } } /// /// 消息接收人 /// public string Receiver { get { return _receiver; } set { _receiver = value; } } #endregion } }