This commit is contained in:
Janus C. H. Knudsen 2025-03-10 15:56:22 +01:00
parent f3ab94eff1
commit 31666b4ba0
34 changed files with 140 additions and 83 deletions

View file

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