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

namespace JuSNS.Model
{
    public class UserInfo
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        private int _UserID;
        public int UserID
        {
            set { _UserID = value; }
            get { return _UserID; }
        }
        /// <summary>
        /// 用户Email
        /// </summary>
        private string _Email;
        public string Email
        {
            set { _Email = value; }
            get { return _Email; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        private string _Password;
        public string Password
        {
            set { _Password = value; }
            get { return _Password; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        private string _Username;
        public string Username
        {
            set { _Username = value; }
            get { return _Username; }
        }
        /// <summary>
        /// 用户状态
        /// </summary>
        private EnumUserState _State;
        public EnumUserState State
        {
            set { _State = value; }
            get { return _State; }
        }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        private DateTime _LastLoginTime;
        public DateTime LastLoginTime
        {
            set { _LastLoginTime = value; }
            get { return _LastLoginTime; }
        }
        /// <summary>
        /// 最后登录IP
        /// </summary>
        private string _LastLoginIp;
        public string LastLoginIp
        {
            set { _LastLoginIp = value; }
            get { return _LastLoginIp; }
        }
        /// <summary>
        /// 登录次数
        /// </summary>
        private int _LoginTimes;
        public int LoginTimes
        {
            set { _LoginTimes = value; }
            get { return _LoginTimes; }
        }
        /// <summary>
        /// 用户省份
        /// </summary>
        private int _Province;
        public int Province
        {
            set { _Province = value; }
            get { return _Province; }
        }

        /// <summary>
        /// 用户省份名称
        /// </summary>
        private string _ProvinceName;
        public string ProvinceName
        {
            set { _ProvinceName = value; }
            get { return _ProvinceName; }
        }
        /// <summary>
        /// 用户城市
        /// </summary>
        private int _City;
        public int City
        {
            set { _City = value; }
            get { return _City; }
        }
        /// <summary>
        /// 用户注册日期
        /// </summary>
        private DateTime _RegTime;
        public DateTime RegTime
        {
            set { _RegTime = value; }
            get { return _RegTime; }
        }
        /// <summary>
        /// 用户注册IP
        /// </summary>
        private string _RegIP;
        public string RegIP
        {
            set { _RegIP = value; }
            get { return _RegIP; }
        }
        private int _Portrait;
        /// <summary>
        /// 头像ID
        /// </summary>
        public int Portrait
        {
            set { _Portrait = value; }
            get { return _Portrait; }
        }
        private string _PortraitDir;
        /// <summary>
        /// 头像目录
        /// </summary>
        public string PortraitDir
        {
            set { _PortraitDir = value; }
            get { return _PortraitDir; }
        }
        private int _integral;
        public int integral
        {
            get { return _integral; }
            set { _integral = value; }
        }
        private int _inteyb;
        public int inteyb
        {
            get { return _inteyb; }
            set { _inteyb = value; }
        }
        private int _Click;
        public int Click
        {
            get { return _Click; }
            set { _Click = value; }
        }
        private int _InviterID;
        public int InviterID
        {
            get { return _InviterID; }
            set { _InviterID = value; }
        }
    }
    /// <summary>
    /// 好友邀请信息类
    /// </summary>
    public class InviteInfo
    {
        private int _ID;
        private int _UserID;
        private string _Invitee;
        private string _Postscript = string.Empty;
        private string _UserName;
        private string _Network;
        private string _HeaPic = string.Empty;

        /// <summary>
        /// 邀请ＩＤ
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        /// <summary>
        /// 邀请的用户ＩＤ
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }
        /// <summary>
        /// 被邀请者邮箱
        /// </summary>
        public string Invitee
        {
            get { return _Invitee; }
            set { _Invitee = value; }
        }
        /// <summary>
        /// 附言
        /// </summary>
        public string Postscript
        {
            get { return _Postscript; }
            set { _Postscript = value; }
        }
        /// <summary>
        /// 邀请的用户名称
        /// </summary>
        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        /// <summary>
        /// 邀请者的网络名称
        /// </summary>
        public string Network
        {
            get { return _Network; }
            set { _Network = value; }
        }
        /// <summary>
        /// 邀请者头像路径
        /// </summary>
        public string HeaPic
        {
            get { return _HeaPic; }
            set { _HeaPic = value; }
        }
        #region 统计
        private int _FriendCount = 0;
        private int _PhotoCount = 0;
        private int _BlogCount = 0;
        private int _NoteCount = 0;
        private int _ShareCount = 0;
        private int _MovieCount = 0;
        private int _GroupCount = 0;
        /// <summary>
        /// 好友
        /// </summary>
        public int FriendCount
        {
            get { return _FriendCount; }
            set { _FriendCount = value; }
        }
        /// <summary>
        /// 照片
        /// </summary>
        public int PhotoCount
        {
            get { return _PhotoCount; }
            set { _PhotoCount = value; }
        }
        /// <summary>
        /// 日志
        /// </summary>
        public int BlogCount
        {
            get { return _BlogCount; }
            set { _BlogCount = value; }
        }
        /// <summary>
        /// 留言
        /// </summary>
        public int NoteCount
        {
            get { return _NoteCount; }
            set { _NoteCount = value; }
        }
        /// <summary>
        /// 分享
        /// </summary>
        public int ShareCount
        {
            get { return _ShareCount; }
            set { _ShareCount = value; }
        }
        /// <summary>
        /// 电影
        /// </summary>
        public int MovieCount
        {
            get { return _MovieCount; }
            set { _MovieCount = value; }
        }
        /// <summary>
        /// 群组
        /// </summary>
        public int GroupCount
        {
            get { return _GroupCount; }
            set { _GroupCount = value; }
        }
        #endregion
    }
}
