| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Result of <see cref="Input.HardDeleteScopeCommand" /> (UC-05). Reports the removed scope's |
| | | 7 | | /// <c>PublicId</c> and the totals of its Users, Google Users, applications, and scope |
| | | 8 | | /// permissions — counted regardless of their individual deletion state. Internal Ids never |
| | | 9 | | /// leave the data layer. |
| | | 10 | | /// </summary> |
| | | 11 | | public class HardDeleteScopeCommandOutput : CommandOutput |
| | | 12 | | { |
| | | 13 | | /// <summary>Public identifier of the hard-deleted scope.</summary> |
| | 18 | 14 | | public Guid Id { get; set; } |
| | | 15 | | |
| | | 16 | | /// <summary>Total number of Users (via SCOPE_USER) that belonged to the scope.</summary> |
| | 17 | 17 | | public int UserCount { get; set; } |
| | | 18 | | |
| | | 19 | | /// <summary>Total number of Google Users that belonged to the scope.</summary> |
| | 16 | 20 | | public int GoogleUserCount { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary>Total number of applications that belonged to the scope.</summary> |
| | 18 | 23 | | public int ApplicationCount { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Total number of scope permissions that belonged to the scope, removed via |
| | | 27 | | /// <c>ON DELETE CASCADE</c> rather than explicitly by this handler. |
| | | 28 | | /// </summary> |
| | 15 | 29 | | public int ScopePermissionCount { get; set; } |
| | | 30 | | } |