| | | 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 scope's owners and System Admins see it (UC-58): who is |
| | | 7 | | /// invited, who invited them, and for how long it stands. |
| | | 8 | | /// </summary> |
| | | 9 | | public class ScopeOwnerInvitationOutput : QueryOutput |
| | | 10 | | { |
| | | 11 | | /// <summary>The invitation's public id — what UC-58 withdraws it by.</summary> |
| | 25 | 12 | | public Guid Id { get; set; } |
| | | 13 | | |
| | | 14 | | /// <summary>The invited administrator's public id.</summary> |
| | 19 | 15 | | public Guid InviteeId { get; set; } |
| | | 16 | | |
| | 35 | 17 | | public string InviteeName { get; set; } = string.Empty; |
| | | 18 | | |
| | 35 | 19 | | public string InviteeEmail { get; set; } = string.Empty; |
| | | 20 | | |
| | | 21 | | /// <summary>Who invited them; <c>null</c> once that person was anonymised, removed or restricted.</summary> |
| | 24 | 22 | | public string? InvitedByName { get; set; } |
| | | 23 | | |
| | 18 | 24 | | public DateTime CreatedAt { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary>When it stops being acceptable.</summary> |
| | 19 | 27 | | public DateTime ExpiresAt { get; set; } |
| | | 28 | | } |