| | | 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 Google User (UC-28, FR-GO-15). The record is addressed by |
| | | 8 | | /// <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route. The deletion sets |
| | | 9 | | /// the Google User's <c>IsDeleted</c> flag and cascades to nothing — a Google User owns no |
| | | 10 | | /// dependent row. <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set by the |
| | | 11 | | /// controller from the authenticated caller and are never bound from the request. |
| | | 12 | | /// </summary> |
| | | 13 | | public class DeleteGoogleUserCommand : BaseCommand, IActorScoped |
| | | 14 | | { |
| | | 15 | | /// <summary>Public identifier of the scope the Google User belongs to (bound from the route).</summary> |
| | 29 | 16 | | public Guid ScopeId { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary>Public identifier of the Google User to delete (bound from the route).</summary> |
| | 30 | 19 | | public Guid Id { get; set; } |
| | | 20 | | |
| | 28 | 21 | | public Guid ActingPersonId { get; set; } |
| | | 22 | | |
| | 26 | 23 | | public int ActingRole { get; set; } |
| | | 24 | | } |