namespace BPA.MES.Base.Application
{
    /// <summary>
    /// 名    称 ：  
    /// 创 建 人 ：yangxiao  
    /// 创建时间 ：  2023/3/4 10:15:54 
    /// 描    述 ：  
    /// </summary>
    public class ClaimConst
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public const string CLAINM_USERID = "UserId";
        /// <summary>
        /// 账号
        /// </summary>
        public const string CLAINM_ACCOUNT = "Account";
        /// <summary>
        /// 名称
        /// </summary>
        public const string CLAINM_NAME = "Name";
        /// <summary>
        /// 头像
        /// </summary>
        public const string CLAINM_AVATARURL = "AvatarUrl";
        /// <summary>
        /// 电话
        /// </summary>
        public const string CLAINM_PHONE = "Phone";
        /// <summary>
        /// 性别
        /// </summary>
        public const string CLAINM_SEX = "0";
        /// <summary>
        /// 是否授权
        /// </summary>
        public const string CLAINM_ISAUTH = "0";
        /// <summary>
        /// 角色Id
        /// </summary>
        public const string CLAINM_ROLEID = "";
        /// <summary>
        /// 微信session_key
        /// </summary>
        public const string SESSION_KEY = "session_key";
        /// <summary>
        /// 是否超级管理
        /// </summary>
        public const string CLAINM_SUPERADMIN = "SuperAdmin";
        /// <summary>
        /// 租户Id
        /// </summary>
        public const string TENANT_ID = "TenantId";
        /// <summary>
        /// 用户组织机构Id
        /// </summary>
        public const string CLAINM_ORGID = "OrgId";
        /// <summary>
        /// 用户组织机构名称
        /// </summary>
        public const string CLAINM_ORGNAME = "OrgName";
        /// <summary>
        /// 是否是管理员
        /// </summary>
        public const bool ISADMIN = false;
        /// <summary>
        /// 所有缓存关键字集合
        /// </summary>
        public const string CACHE_KEY_ALL = "allkey";
    }

    public class MQTTConfig
    {
        /// <summary>
        /// 地址
        /// </summary>
        public static string Address { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public static string Pwd { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public static string Account { get; set; }
    }
}
