feat: add permission hierarchy tree
This commit is contained in:
@@ -8,6 +8,9 @@ namespace TakeoutSaaS.Application.Identity.Commands;
|
||||
/// </summary>
|
||||
public sealed record CreatePermissionCommand : IRequest<PermissionDto>
|
||||
{
|
||||
public long ParentId { get; init; } = 0;
|
||||
public int SortOrder { get; init; } = 0;
|
||||
public string Type { get; init; } = "leaf";
|
||||
public string Name { get; init; } = string.Empty;
|
||||
public string Code { get; init; } = string.Empty;
|
||||
public string? Description { get; init; }
|
||||
|
||||
Reference in New Issue
Block a user