| | | 1 | | using ArturRios.Heimdall.Shared.Security; |
| | | 2 | | using ArturRios.Mediator.Command; |
| | | 3 | | |
| | | 4 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Intent to logically delete an application (UC-19, FR-AP-07). The application is addressed by |
| | | 8 | | /// <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route. The deletion sets |
| | | 9 | | /// the application's <c>IsDeleted</c> flag and cascades to nothing: its credentials (UC-53) stay |
| | | 10 | | /// as they are, and are inert, because UC-56 and UC-57 refuse a deleted application. |
| | | 11 | | /// <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set by the |
| | | 12 | | /// controller from the authenticated caller and are never bound from the request. |
| | | 13 | | /// </summary> |
| | | 14 | | public class DeleteApplicationCommand : BaseCommand, IActorScoped |
| | | 15 | | { |
| | | 16 | | /// <summary>Public identifier of the scope the application belongs to (bound from the route).</summary> |
| | 43 | 17 | | public Guid ScopeId { get; set; } |
| | | 18 | | |
| | | 19 | | /// <summary>Public identifier of the application to delete (bound from the route).</summary> |
| | 44 | 20 | | public Guid Id { get; set; } |
| | | 21 | | |
| | 31 | 22 | | public Guid ActingPersonId { get; set; } |
| | | 23 | | |
| | 39 | 24 | | public int ActingRole { get; set; } |
| | | 25 | | } |