| | | 1 | | using ArturRios.Mediator.Query; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Query.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Application data returned by the UC-17 view/list queries. Only externally-facing |
| | | 7 | | /// <c>PublicId</c> identifiers are exposed — the internal <c>bigint</c> scope and owner foreign |
| | | 8 | | /// keys never leave the data layer (SRD §4.0). |
| | | 9 | | /// </summary> |
| | | 10 | | public class ApplicationOutput : QueryOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Public identifier of the application.</summary> |
| | 108 | 13 | | public Guid Id { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary>Application display name.</summary> |
| | 148 | 16 | | public string Name { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | /// <summary>Public identifier of the scope the application belongs to.</summary> |
| | 76 | 19 | | public Guid ScopeId { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary>Public identifier of the <c>ScopeAdmin</c> who owns the application.</summary> |
| | 82 | 22 | | public Guid OwnerId { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary>Whether the application is logically deleted.</summary> |
| | 78 | 25 | | public bool IsDeleted { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary>Creation timestamp.</summary> |
| | 74 | 28 | | public DateTime CreatedAt { get; set; } |
| | | 29 | | |
| | | 30 | | /// <summary>Last update timestamp.</summary> |
| | 74 | 31 | | public DateTime UpdatedAt { get; set; } |
| | | 32 | | } |