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 读写属性 /// <summary> /// 主键唯一值 /// </summary> public string GID { get { return _gid; } set { _gid = value; } } /// <summary> /// 已读消息总数 /// </summary> public int ReadTotal { get { return _read_total; } set { _read_total = value; } } /// <summary> /// 未读消息总数 /// </summary> public int UnreadTotal { get { return _unread_total; } set { _unread_total = value; } } /// <summary> /// 消息总数 /// </summary> public int Total { get { return _total; } set { _total = value; } } /// <summary> /// 消息接收人 /// </summary> public string Receiver { get { return _receiver; } set { _receiver = value; } } #endregion } }