//by JuSNS v1.0系列
//官方站：www.juSNS.com，演示站:www.ju001.com，www.julala.cn
//QQ:655071(技术)，QQ:9170617（客服）
//MSN:simplt@163.com EMail:simplt@163.com
//program design by Simplt.Xie，arjun
//========================================
using System;
using System.Collections.Generic;
using System.Text;

namespace JuSNS.Model
{
    /// <summary>
    /// 通知实体类
    /// </summary>
    public class NoticeInfo
    {
        private int _ID;
        private int _Receiver;
        private string _Content;
        private bool _IsRead;
        private DateTime _PostTime;
        private string _PostIP;
        private int _Sender;
        private int _MsgType;
        private int _Correspond;
        private bool _IsLock;
        private bool _IsDel;

        /// <summary>
        /// 通知ID(自增长)
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        /// <summary>
        /// 被通知者的ID
        /// </summary>
        public int Receiver
        {
            get { return _Receiver; }
            set { _Receiver = value; }
        }
        /// <summary>
        /// 通知内容
        /// </summary>
        public string Content
        {
            get { return _Content; }
            set { _Content = value; }
        }
        /// <summary>
        /// 是否已阅
        /// </summary>
        public bool IsRead
        {
            get { return _IsRead; }
            set { _IsRead = value; }
        }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime PostTime
        {
            get { return _PostTime; }
            set { _PostTime = value; }
        }
        /// <summary>
        /// 发送时IP
        /// </summary>
        public string PostIP
        {
            get { return _PostIP; }
            set { _PostIP = value; }
        }
        /// <summary>
        /// 发送通知的人
        /// </summary>
        public int Sender
        {
            get { return _Sender; }
            set { _Sender = value; }
        }
        /// <summary>
        /// 通知的类型
        /// </summary>
        public int MsgType
        {
            get { return _MsgType; }
            set { _MsgType = value; }
        }
        /// <summary>
        /// 相关的ID
        /// </summary>
        public int Correspond
        {
            get { return _Correspond; }
            set { _Correspond = value; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool IsLock
        {
            get { return _IsLock; }
            set { _IsLock = value; }
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel
        {
            get { return _IsDel; }
            set { _IsDel = value; }
        }
    }
}
