Working on a command dispatcher

This commit is contained in:
Janus Knudsen 2025-03-10 18:10:00 +01:00
parent 31666b4ba0
commit a86a2d7ade
5 changed files with 55 additions and 4 deletions

View file

@ -7,8 +7,8 @@ namespace PlanTempus.Components.Users.Create
public class CreateUserCommand : ICommand
{
public string Email { get; set; }
public string Password { get; set; }
public required string Email { get; set; }
public required string Password { get; set; }
public bool IsActive { get; set; } = true;
public required Guid CorrelationId { get; set; }
}