refactor: 管理端去租户过滤并Portal化RBAC菜单
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using TakeoutSaaS.Domain.Identity.Enums;
|
||||
|
||||
namespace TakeoutSaaS.Application.Identity.Contracts;
|
||||
|
||||
/// <summary>
|
||||
@@ -5,15 +7,20 @@ namespace TakeoutSaaS.Application.Identity.Contracts;
|
||||
/// </summary>
|
||||
public sealed record RoleDetailDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色所属 Portal。
|
||||
/// </summary>
|
||||
public PortalType Portal { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 角色 ID。
|
||||
/// </summary>
|
||||
public long Id { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 租户 ID。
|
||||
/// 租户 ID(Portal=Tenant 必填;Portal=Admin 为空)。
|
||||
/// </summary>
|
||||
public long TenantId { get; init; }
|
||||
public long? TenantId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 角色名称。
|
||||
|
||||
Reference in New Issue
Block a user