//
namespace SafeCampus.System;
///
/// 系统层常量
///
public class SystemConst
{
///
/// 系统配置表缓存Key
///
public const string CACHE_DEV_CONFIG = CacheConst.CACHE_PREFIX_WEB + "SysConfig:";
///
/// 登录验证码缓存Key
///
public const string CACHE_CAPTCHA = CacheConst.CACHE_PREFIX_WEB + "Captcha:";
///
/// 用户表缓存Key
///
public const string CACHE_SYS_USER = CacheConst.CACHE_PREFIX_WEB + "SysUser";
///
/// 用户头像缓存关系Key
///
public const string CACHE_SYS_USER_AVATAR = CacheConst.CACHE_PREFIX_WEB + "SysUserAvatar";
///
/// 用户手机号关系缓存Key
///
public const string CACHE_SYS_USER_PHONE = CacheConst.CACHE_PREFIX_WEB + "SysUserPhone";
///
/// 用户手机号关系缓存Key
///
public const string CACHE_SYS_USER_ACCOUNT = CacheConst.CACHE_PREFIX_WEB + "SysUserAccount";
///
/// 资源表缓存Key
///
public const string CACHE_SYS_RESOURCE = CacheConst.CACHE_PREFIX_WEB + "SysResource:";
///
/// 字典表缓存Key
///
public const string CACHE_DEV_DICT = CacheConst.CACHE_PREFIX_WEB + "SysDict";
///
/// 关系表缓存Key
///
public const string CACHE_SYS_RELATION = CacheConst.CACHE_PREFIX_WEB + "SysRelation:";
///
/// 机构表缓存Key
///
public const string CACHE_SYS_ORG = CacheConst.CACHE_PREFIX_WEB + "SysOrg";
///
/// 机构对应租户关系缓存Key
///
public const string CACHE_SYS_ORG_TENANT = CacheConst.CACHE_PREFIX_WEB + "SysOrgTenant";
///
/// 租户列表缓存
///
public const string CACHE_SYS_TENANT = CacheConst.CACHE_PREFIX_WEB + "Tenant";
///
/// 角色表缓存Key
///
public const string CACHE_SYS_ROLE = CacheConst.CACHE_PREFIX_WEB + "SysRole";
///
/// 职位表缓存Key
///
public const string CACHE_SYS_POSITION = CacheConst.CACHE_PREFIX_WEB + "SysPosition";
#region 登录错误次数
///
/// 登录错误次数缓存Key
///
public const string CACHE_LOGIN_ERROR_COUNT = CacheConst.CACHE_PREFIX_WEB + "LoginErrorCount:";
#endregion 登录错误次数
#region 操作
///
/// 添加操作
///
public const string ADD = "添加";
///
/// 编辑操作
///
public const string EDIT = "编辑";
///
/// 启用操作
///
public const string ENABLE = "启用";
///
/// 禁用操作
///
public const string DISABLE = "禁用";
///
/// 重置密码操作
///
public const string RESET_PWD = "重置密码";
///
/// 用户授权操作
///
public const string GRANT_ROLE = "授权";
#endregion 操作
#region 别称
///
/// 组织
///
public const string SYS_ORG = "组织";
///
/// 职位
///
public const string SYS_POS = "职位";
#endregion 别称
}