using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ourmsg.Enum;

namespace Ourmsg.Server.MemoryObject
{
    /// <summary>
    /// 登录代理服务器用户信息
    /// </summary>
    public class AgentUser
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public UInt32 UserID{ get; set; } 
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName{ get; set; } 
        /// <summary>
        /// 头像ID
        /// </summary>
        public int HeadID{ set; get; } 
        /// <summary>
        /// 套接字SessionID 
        /// </summary>
        public string SessionID{ get; set; } 
        /// <summary>
        /// 动态密码
        /// </summary>
        public string DynamicPassword { get; set; } 
        /// <summary>
        /// 是否压缩
        /// </summary>
        public bool Compress{ set; get; } 
        /// <summary>
        /// 是否加密
        /// </summary>
        public bool Encrypt { set; get; } 
        /// <summary>
        /// 加密密钥
        /// </summary>
        public byte[] PassowrdKey = new byte[16];
        /// <summary>
        /// 是否APP客户端
        /// </summary>
        public bool IsAPP { set; get;} 
        /// <summary>
        /// 
        /// </summary>
        public ShowType ShowType { set; get; }
        /// <summary>
        /// 是否系统用户
        /// </summary>
        public bool SysUser { set; get; }
    }
}
