| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Intent to permanently (hard) delete an application (UC-20, FR-AP-08). The application is |
| | | 7 | | /// addressed by <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route. |
| | | 8 | | /// Removing it cascades to its credentials (UC-53), the only rows with a foreign key to an |
| | | 9 | | /// application; the scope and owner it points at are left intact. The command carries no acting |
| | | 10 | | /// person: UC-20's |
| | | 11 | | /// only actor is the System Admin and the endpoint's role requirement settles that entirely, so |
| | | 12 | | /// the handler has no data-dependent rule left to apply. |
| | | 13 | | /// </summary> |
| | | 14 | | public class HardDeleteApplicationCommand : BaseCommand |
| | | 15 | | { |
| | | 16 | | /// <summary>Public identifier of the scope the application belongs to (bound from the route).</summary> |
| | 30 | 17 | | public Guid ScopeId { get; set; } |
| | | 18 | | |
| | | 19 | | /// <summary>Public identifier of the application to hard-delete (bound from the route).</summary> |
| | 31 | 20 | | public Guid Id { get; set; } |
| | | 21 | | } |