using System;
using System.Collections.Generic;
using System.Text;

namespace JuSNS.Model
{
    /// <summary>
    /// 私信实体类
    /// </summary>
    public class Mailinfo
    {
        private int _ID;
        private int _Sender;
        private int _Receiver;
        private string _Title;
        private string _Content;
        private DateTime _PostTime;
        private string _PostIP;
        private int _TopicID;
        private bool _IsReply;
        private int _LtType;
        private int _RelativeID;
        private int _IsRead;
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        /// <summary>
        /// 发送者
        /// </summary>
        public int Sender
        {
            get { return _Sender; }
            set { _Sender = value; }
        }
        /// <summary>
        /// 接收者
        /// </summary>
        public int Receiver
        {
            get { return _Receiver; }
            set { _Receiver = value; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get { return _Title; }
            set { _Title = value; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            get { return _Content; }
            set { _Content = 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>
        /// 信件回复的标题邮件ID
        /// </summary>
        public int TopicID
        {
            get { return _TopicID; }
            set { _TopicID = value; }
        }
        /// <summary>
        /// 是邮件回复还是邮件主题
        /// </summary>
        public bool IsReply
        {
            get { return _IsReply; }
            set { _IsReply = value; }
        }
        /// <summary>
        /// 发件类型(0为普通,1为分享)
        /// </summary>
        public int LtType
        {
            get { return _LtType; }
            set { _LtType = value; }
        }
        /// <summary>
        /// 相关编号
        /// </summary>
        public int RelativeID
        {
            get { return _RelativeID; }
            set { _RelativeID = value; }
        }
        /// <summary>
        /// 是否阅读
        /// </summary>
        public int IsRead
        {
            get { return _IsRead; }
            set { _IsRead = value; }
        }
    }
}
