| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// The application as it stands after a UC-18 update. Only externally-facing <c>PublicId</c> |
| | | 7 | | /// identifiers are exposed; the internal Ids that link the row to its scope and owner never leave |
| | | 8 | | /// the data layer. |
| | | 9 | | /// </summary> |
| | | 10 | | public class UpdateApplicationCommandOutput : CommandOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Public identifier of the updated application.</summary> |
| | 21 | 13 | | public Guid Id { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary>Application display name after the update.</summary> |
| | 33 | 16 | | public string Name { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | /// <summary>Public identifier of the scope the application belongs to (unchanged by this operation).</summary> |
| | 18 | 19 | | public Guid ScopeId { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary>Public identifier of the person that owns the application after the update.</summary> |
| | 22 | 22 | | public Guid OwnerId { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary>Creation timestamp.</summary> |
| | 17 | 25 | | public DateTime CreatedAt { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary>Update timestamp, stamped by this operation.</summary> |
| | 17 | 28 | | public DateTime UpdatedAt { get; set; } |
| | | 29 | | } |