| | | 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 a person (UC-09). The person is addressed by <see cref="Id" />, |
| | | 8 | | /// bound from the route. The deletion sets the person's <c>IsDeleted</c> flag and cascades to |
| | | 9 | | /// nothing — their join rows, tokens, and owned applications are left untouched. |
| | | 10 | | /// <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set by the controller from the |
| | | 11 | | /// authenticated caller and are never bound from the request. |
| | | 12 | | /// </summary> |
| | | 13 | | public class DeletePersonCommand : BaseCommand, IActorScoped |
| | | 14 | | { |
| | | 15 | | /// <summary>Public identifier of the person to delete (bound from the route).</summary> |
| | 39 | 16 | | public Guid Id { get; set; } |
| | | 17 | | |
| | 42 | 18 | | public Guid ActingPersonId { get; set; } |
| | | 19 | | |
| | 46 | 20 | | public int ActingRole { get; set; } |
| | | 21 | | } |