| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Intent to create a new scope (UC-01), designating one or more existing administrators — |
| | | 7 | | /// <c>ScopeAdmin</c> or <c>SystemAdmin</c> persons — as its initial owners. Owners are |
| | | 8 | | /// referenced by their <c>PublicId</c> (GUID), never by internal Id. |
| | | 9 | | /// </summary> |
| | | 10 | | public class CreateScopeCommand : BaseCommand |
| | | 11 | | { |
| | | 12 | | /// <summary>Scope display name. Required and must be unique across all scopes.</summary> |
| | 103 | 13 | | public string Name { get; set; } = string.Empty; |
| | | 14 | | |
| | | 15 | | /// <summary>Optional description of the scope's purpose.</summary> |
| | 49 | 16 | | public string? Description { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Public identifiers of the persons to designate as initial owners. Each must reference an |
| | | 20 | | /// existing, non-logically-deleted person with the <c>ScopeAdmin</c> or <c>SystemAdmin</c> role. |
| | | 21 | | /// At least one is required. |
| | | 22 | | /// </summary> |
| | 104 | 23 | | public IEnumerable<Guid> OwnerIds { get; set; } = new List<Guid>(); |
| | | 24 | | } |