//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 GroupDiscussInfo
    {
        private int _ID;
        private int _GroupID;
        private int _UserID;
        private string _Topic;
        private string _Content;
        private int _DiscussType;
        private int _BelongTopic;
        private DateTime _PostTime;
        private string _PostIP;
        private DateTime _LastPostTime;
        private string _LastPostIP;
        private int _LastPoster;
        private int _Replys;
        private int _State;
        private DateTime _LastModifyTime;
        private string _LastModifyIP;
        private int _ReplyID;
        private string _ReplyTack;
        private int _SeriesNum;
        private int _TopNum;

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

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

        /// <summary>
        /// 发表者
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }

        /// <summary>
        /// 主题
        /// </summary>
        public string Topic
        {
            get { return _Topic; }
            set { _Topic = value; }
        }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            get { return _Content; }
            set { _Content = value; }
        }

        /// <summary>
        /// 讨论类型(0:主题,1:回复,2:回复的回复)
        /// </summary>
        public int DiscussType
        {
            get { return _DiscussType; }
            set { _DiscussType = value; }
        }

        /// <summary>
        /// 所属主题ID
        /// </summary>
        public int BelongTopic
        {
            get { return _BelongTopic; }
            set { _BelongTopic = 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 DateTime LastPostTime
        {
            get { return _LastPostTime; }
            set { _LastPostTime = value; }
        }

        /// <summary>
        /// 最后回复IP
        /// </summary>
        public string LastPostIP
        {
            get { return _LastPostIP; }
            set { _LastPostIP = value; }
        }

        /// <summary>
        /// 最后回复ID
        /// </summary>
        public int LastPoster
        {
            get { return _LastPoster; }
            set { _LastPoster = value; }
        }

        /// <summary>
        /// 回复数
        /// </summary>
        public int Replys
        {
            get { return _Replys; }
            set { _Replys = value; }
        }

        /// <summary>
        /// 状态(0:为正常,1:被锁定,3:被删除)
        /// </summary>
        public int State
        {
            get { return _State; }
            set { _State = value; }
        }

        /// <summary>
        /// 最后编辑时间
        /// </summary>
        public DateTime LastModifyTime
        {
            get { return _LastModifyTime; }
            set { _LastModifyTime = value; }
        }

        /// <summary>
        /// 最后编辑时IP
        /// </summary>
        public string LastModifyIP
        {
            get { return _LastModifyIP; }
            set { _LastModifyIP = value; }
        }

        /// <summary>
        /// 所属回复的ID
        /// </summary>
        public int ReplyID
        {
            get { return _ReplyID; }
            set { _ReplyID = value; }
        }

        /// <summary>
        /// 回复附加内容
        /// </summary>
        public string ReplyTack
        {
            get { return _ReplyTack; }
            set { _ReplyTack = value; }
        }

        /// <summary>
        /// 序列号(楼数)
        /// </summary>
        public int SeriesNum
        {
            get { return _SeriesNum; }
            set { _SeriesNum = value; }
        }

        /// <summary>
        /// 权重(0:为置顶,1:一般[默认])
        /// </summary>
        public int TopNum
        {
            get { return _TopNum; }
            set { _TopNum = value; }
        }
    }
}
