| | | 1 | | using ArturRios.Mediator.Query; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Query.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// One open invitation to co-own a scope, as the invited administrator sees it (UC-59): which scope, who |
| | | 7 | | /// invited them, and until when they can accept. |
| | | 8 | | /// </summary> |
| | | 9 | | public class MyScopeInvitationOutput : QueryOutput |
| | | 10 | | { |
| | | 11 | | /// <summary>The invitation's public id — what UC-60 and UC-61 answer it by.</summary> |
| | 20 | 12 | | public Guid Id { get; set; } |
| | | 13 | | |
| | 14 | 14 | | public Guid ScopeId { get; set; } |
| | | 15 | | |
| | 27 | 16 | | public string ScopeName { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | /// <summary>Who invited them; <c>null</c> once that person was anonymised, removed or restricted.</summary> |
| | 18 | 19 | | public string? InvitedByName { get; set; } |
| | | 20 | | |
| | 13 | 21 | | public DateTime CreatedAt { get; set; } |
| | | 22 | | |
| | 14 | 23 | | public DateTime ExpiresAt { get; set; } |
| | | 24 | | } |