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

namespace JuSNS.Model
{
    /// <summary>
    /// 群组实体类
    /// </summary>
    public class UserGroupInfo
    {
        private int _GroupID;
        private string _GroupName;
        private int _UserID;
        private int _Members;
        private string _Bulletin;
        private int _NetWork;
        private EnumGroupPrivacy _Publicity;
        private string _Portrait;
        private int _State;
        private DateTime _PostTime;
        private string _PostIP;

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

        /// <summary>
        /// 创建者,群主
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }

        /// <summary>
        /// 成员个数
        /// </summary>
        public int Members
        {
            get { return _Members; }
            set { _Members = value; }
        }

        /// <summary>
        /// 公告
        /// </summary>
        public string Bulletin
        {
            get { return _Bulletin; }
            set { _Bulletin = value; }
        }

        /// <summary>
        /// 网络属性
        /// </summary>
        public int NetWork
        {
            get { return _NetWork; }
            set { _NetWork = value; }
        }

        /// <summary>
        /// 公开程度
        /// </summary>
        public EnumGroupPrivacy Publicity
        {
            get { return _Publicity; }
            set { _Publicity = value; }
        }

        /// <summary>
        /// 头像
        /// </summary>
        public string Portrait
        {
            get { return _Portrait; }
            set { _Portrait = value; }
        }

        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            get { return _State; }
            set { _State = value; }
        }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime PostTime
        {
            get { return _PostTime; }
            set { _PostTime = value; }
        }

        /// <summary>
        /// 创建时IP
        /// </summary>
        public string PostIP
        {
            get { return _PostIP; }
            set { _PostIP = value; }
        }
    }
}
