| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Intent to create a <c>ScopeAdmin</c> or <c>SystemAdmin</c> person without any scope |
| | | 7 | | /// association (UC-06 path b). <see cref="Role" /> is the <c>Roles</c> enum value and must be |
| | | 8 | | /// <c>SystemAdmin</c> or <c>ScopeAdmin</c>. |
| | | 9 | | /// </summary> |
| | | 10 | | public class CreateAdminCommand : BaseCommand |
| | | 11 | | { |
| | 200 | 12 | | public string Name { get; set; } = string.Empty; |
| | | 13 | | |
| | 209 | 14 | | public string Email { get; set; } = string.Empty; |
| | | 15 | | |
| | 201 | 16 | | public string Password { get; set; } = string.Empty; |
| | | 17 | | |
| | 119 | 18 | | public int Role { get; set; } |
| | | 19 | | } |