Files
ThingsGateway/src/ThingsGateway.Admin.Application/Const/CateGoryConst.cs
Kimdiego2098 6e11b885f9 同步代码
2024-02-21 09:38:34 +08:00

154 lines
3.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
// Gitee源代码仓库https://gitee.com/diego2098/ThingsGateway
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
// 使用文档https://diego2098.gitee.io/thingsgateway-docs/
// QQ群605534569
//------------------------------------------------------------------------------
namespace ThingsGateway.Admin.Application;
/// <summary>
/// 分类常量
/// </summary>
public class CateGoryConst
{
#region
/// <summary>
/// 系统基础
/// </summary>
public const string Config_SYS_BASE = "SYS_BASE";
/// <summary>
/// 业务定义
/// </summary>
public const string Config_BIZ_DEFINE = "BIZ_DEFINE";
/// <summary>
/// 登录策略
/// </summary>
public const string LOGIN_POLICY = "LOGIN_POLICY";
/// <summary>
/// 密码策略
/// </summary>
public const string Config_PWD_POLICY = "PWD_POLICY";
#endregion
#region
/// <summary>
/// 菜单
/// </summary>
public const string Resource_MENU = "MENU";
/// <summary>
/// 单页
/// </summary>
public const string Resource_SPA = "SPA";
/// <summary>
/// 按钮
/// </summary>
public const string Resource_BUTTON = "BUTTON";
#endregion
#region
/// <summary>
/// 用户有哪些角色
/// </summary>
public const string Relation_SYS_USER_HAS_ROLE = "SYS_USER_HAS_ROLE";
/// <summary>
/// 角色有哪些资源
/// </summary>
public const string Relation_SYS_ROLE_HAS_RESOURCE = "SYS_ROLE_HAS_RESOURCE";
/// <summary>
///用户有哪些资源
/// </summary>
public const string Relation_SYS_USER_HAS_RESOURCE = "SYS_USER_HAS_RESOURCE";
/// <summary>
/// 角色有哪些权限
/// </summary>
public const string Relation_SYS_ROLE_HAS_PERMISSION = "SYS_ROLE_HAS_PERMISSION";
/// <summary>
/// 角色有哪些OPENAPI权限
/// </summary>
public const string Relation_SYS_ROLE_HAS_OPENAPIPERMISSION = "SYS_ROLE_HAS_OPENAPIPERMISSION";
/// <summary>
/// 用户有哪些权限
/// </summary>
public const string Relation_SYS_USER_HAS_PERMISSION = "SYS_USER_HAS_PERMISSION";
/// <summary>
/// 用户有哪些OPENAPI权限
/// </summary>
public const string Relation_SYS_USER_HAS_OPENAPIPERMISSION = "Relation_SYS_USER_HAS_OPENAPIPERMISSION";
/// <summary>
/// 用户工作台数据
/// </summary>
public const string Relation_SYS_USER_WORKBENCH_DATA = "SYS_USER_WORKBENCH_DATA";
/// <summary>
/// 用户主页数据
/// </summary>
public const string Relation_SYS_USER_DEFAULT_RAZOR = "Relation_SYS_USER_DEFAULT_RAZOR";
#endregion
#region
/// <summary>
/// 登录
/// </summary>
public const string Log_LOGIN = "LOGIN";
/// <summary>
/// 登出
/// </summary>
public const string Log_LOGOUT = "LOGOUT";
/// <summary>
/// 操作
/// </summary>
public const string Log_OPERATE = "OPERATE";
/// <summary>
/// 异常
/// </summary>
public const string Log_EXCEPTION = "EXCEPTION";
#endregion
#region
/// <summary>
/// 全局
/// </summary>
public const string Role_GLOBAL = "GLOBAL";
/// <summary>
/// Api
/// </summary>
public const string Role_API = "API";
#endregion
#region Api分组
public const string ThingsGatewayAdmin = "ThingsGateway.Admin";
public const string ThingsGatewayApi = "ThingsGateway.OpenApi";
#endregion Api分组
}