Files
KinginfoGateway/src/Admin/ThingsGateway.Admin.Application/Const/RoleConst.cs

51 lines
1.6 KiB
C#
Raw Normal View History

//------------------------------------------------------------------------------
2024-04-14 22:51:56 +08:00
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
// Gitee源代码仓库https://gitee.com/diego2098/ThingsGateway
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
2024-09-14 18:17:25 +08:00
// 使用文档https://thingsgateway.cn/
2024-04-14 22:51:56 +08:00
// QQ群605534569
//------------------------------------------------------------------------------
2025-01-24 22:42:26 +08:00
namespace ThingsGateway.Admin.Application;
2024-04-14 22:51:56 +08:00
/// <summary>
2025-01-24 22:42:26 +08:00
/// 角色常量
2024-04-14 22:51:56 +08:00
/// </summary>
2025-01-24 22:42:26 +08:00
[ThingsGateway.DependencyInjection.SuppressSniffer]
2025-06-06 21:13:58 +08:00
public static class RoleConst
2024-04-14 22:51:56 +08:00
{
/// <summary>
2025-01-24 22:42:26 +08:00
/// api角色
2024-04-14 22:51:56 +08:00
/// </summary>
2025-01-24 22:42:26 +08:00
public const string ApiRole = "ApiRole";
/// <summary>
2025-01-24 22:42:26 +08:00
/// 业务管理员
/// </summary>
2025-01-24 22:42:26 +08:00
public const string BizAdmin = "BizAdmin";
2024-04-14 22:51:56 +08:00
/// <summary>
2025-01-24 22:42:26 +08:00
/// 超级管理员
2024-04-14 22:51:56 +08:00
/// </summary>
2025-01-24 22:42:26 +08:00
public const string SuperAdmin = "SuperAdmin";
2024-04-14 22:51:56 +08:00
/// <summary>
2025-01-24 22:42:26 +08:00
/// 超级管理员Id
2024-04-14 22:51:56 +08:00
/// </summary>
2025-01-24 22:42:26 +08:00
public const long SuperAdminId = 212725263002001;
/// <summary>
/// 默认租户Id
/// </summary>
public const long DefaultTenantId = 252885263003720;
/// <summary>
/// 默认岗位Id
/// </summary>
public const long DefaultPositionId = 212725263003001;
/// <summary>
/// 超级管理员Id
/// </summary>
public const long SuperAdminRoleId = 212725263001001;
2024-04-21 00:06:32 +08:00
}