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

namespace ZXDT.Common
{
    public class DTKeys
    {
        #region 电子货币类型
        /// <summary>
        /// 电子货币类型
        /// </summary>
        public class HuoBiTypeKey
        {
            /// <summary>
            /// 电子币10
            /// </summary>
            public const int DianZiBi = 10;
            /// <summary>
            /// 金币20
            /// </summary>
            public const int JinBi = 20;
            /// <summary>
            /// 股权30
            /// </summary>
            public const int GuQuan = 30;
        }
        #endregion

        #region 代理汇款信息状态
        /// <summary>
        /// 代理汇款信息状态
        /// </summary>
        public class HuiKuanXinXiStateKey
        {
            /// <summary>
            /// 未审核10
            /// </summary>
            public const int WeiShenHe = 10;
            /// <summary>
            /// 无效20
            /// </summary>
            public const int WuXiao = 20;
            /// <summary>
            /// 有效30
            /// </summary>
            public const int YouXiao = 30;
        }
        #endregion

        #region 会员订单状态
        /// <summary>
        /// 订单状态
        /// </summary>
        public class OrderStateKey
        {
            /// <summary>
            /// 未发货10，或叫未处理
            /// </summary>
            public const int WeiFaHuo = 10;
            /// <summary>
            /// 已发货20，或叫已处理
            /// </summary>
            public const int YiFaHuo = 20;
            /// <summary>
            /// 已取消30
            /// </summary>
            public const int YiQuXiao = 30;
        }
        #endregion

        #region 站点使用（Cookie、验证码Session等）键集合
        /// <summary>
        /// sessionKey
        /// </summary>
        public class SessionKey
        {
            /// <summary>
            /// 验证码Session键
            /// </summary>
            public const string VerifyCode = "verify_code";
            /// <summary>
            /// 公司系统管理员权限Session键
            /// </summary>
            public const string AdminTargetAction = "Admin_TargetAction";
        }

        /// <summary>
        /// 公司系统管理Cookie键
        /// </summary>
        public class CompanySystemCookieKey
        {
            /// <summary>
            /// Cookie一维名'CompanySystem'
            /// </summary>
            public const string MainKey = "CompanySystem";
            /// <summary>
            /// 管理员ID'AdminId'
            /// </summary>
            public const string AdminId = "CS_1";
            /// <summary>
            /// 管理员用户名'AdminLoginName'
            /// </summary>
            public const string AdminLoginName = "CS_2";
            /// <summary>
            /// 管理员真实姓名'AdminPersonName'
            /// </summary>
            public const string AdminPersonName = "CS_3";
            /// <summary>
            /// 管理员的二级密码
            /// </summary>
            public const string AdminPersonTwoPwd = "CS_4";
            /// <summary>
            /// 在person_info表中关联的ID
            /// </summary>
            public const string AdminPersonId = "CS_5";
        }
        /// <summary>
        /// 会员系统Cookie键
        /// </summary>
        public class MemberSystemCookieKey
        {
            /// <summary>
            /// Cookie一维名'MemberSystem'
            /// </summary>
            public const string MainKey = "MemberSystem";
            /// <summary>
            /// 购物车信息
            /// </summary>
            public const string BuyCart = "MS_1";
            /// <summary>
            /// 会员ID
            /// </summary>
            public const string MemberId = "MS_2";
            /// <summary>
            /// 会员登录名
            /// </summary>
            public const string MemberLoginName = "MS_3";
            /// <summary>
            /// 会员的二级密码
            /// </summary>
            public const string MemberTwoPwd = "MS_4";
            /// <summary>
            /// 会员的代理
            /// </summary>
            public const string MemberAgentId = "MS_5";
            /// <summary>
            /// 会员资料状态
            /// </summary>
            public const string MemberZiLiaoState = "MS_6";
            /// <summary>
            /// 会员等级
            /// </summary>
            public const string MemberLevel = "MS_7";
        }
        /// <summary>
        /// 代理商系统cookie键
        /// </summary>
        public class AgentSystemCookieKey
        {
            /// <summary>
            /// Cookie一维名'AgentSystem'
            /// </summary>
            public const string MainKey = "AgentSystem";
            /// <summary>
            /// 代理商登录ID
            /// </summary>
            public const string AgentId = "AS_1";
            /// <summary>
            /// 代理商登录名
            /// </summary>
            public const string AgentLoginName = "AS_2";
            /// <summary>
            /// 代理商真实姓名
            /// </summary>
            public const string AgentPersonName = "AS_3";
            /// <summary>
            /// 代理商的二级密码
            /// </summary>
            public const string AgentTwoPwd = "AS_4";
        }
        #endregion

        #region 缓存键
        /// <summary>
        /// 缓存键
        /// </summary>
        public class CacheKey
        {
            /// <summary>
            /// 站点配置
            /// </summary>
            public const string CACHE_SITE_CONFIG = "dt_cache_site_config";
            /// <summary>
            /// 用户配置
            /// </summary>
            public const string CACHE_USER_CONFIG = "dt_cache_user_config";
            /// <summary>
            /// 客户端站点配置
            /// </summary>
            public const string CACHE_SITE_CONFIG_CLIENT = "dt_cache_site_client_config";
        }
        #endregion
    }
}
