//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 GroupInviteInfo
    {
        private int _ID;
        private int _GroupID;
        private int _UserID;
        private int _JoinUserID;
        private string _Postscript;
        private DateTime _PostTime;
        private string _PostIP;
        private int _Response;
        private DateTime _RespTime;
        private string _RespIP;
        private bool _InviteFlag;

        /// <summary>
        /// 自增长ID
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        /// <summary>
        /// 群组编号
        /// </summary>
        public int GroupID
        {
            get { return _GroupID; }
            set { _GroupID = value; }
        }

        /// <summary>
        /// 申请加入用户ID(或者被邀请的用户ID)
        /// </summary>
        public int JoinUserID
        {
            get { return _JoinUserID; }
            set { _JoinUserID = value; }
        }
        
        /// <summary>
        /// 发出邀请用户ID
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }

        /// <summary>
        /// 附言
        /// </summary>
        public string Postscript
        {
            get { return _Postscript; }
            set { _Postscript = 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>
        /// 回复状态(0:未回复,1:回意加入,2:拒绝)
        /// </summary>
        public int Response
        {
            get { return _Response; }
            set { _Response = value; }
        }

        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime RespTime
        {
            get { return _RespTime; }
            set { _RespTime = value; }
        }

        /// <summary>
        /// 回复IP
        /// </summary>
        public string RespIP
        {
            get { return _RespIP; }
            set { _RespIP = value; }
        }

        /// <summary>
        /// 1代表邀请加入,0代表申请加入
        /// </summary>
        public bool InviteFlag
        {
            get { return _InviteFlag; }
            set { _InviteFlag = value; }
        }
    }
}
