Core.Thalos.Service.API/Core.Cerberos.Application/UseCases/Users/Input/CreateUserRequest.cs
Sergio Matias Urquin 7d760b589e Add project files.
2025-04-29 18:56:29 -06:00

22 lines
677 B
C#

using Lib.Architecture.BuildingBlocks;
namespace Core.Cerberos.Application.UseCases.Users.Input
{
public class CreateUserRequest : Notificator, ICommand
{
public string Email { get; set; } = null!;
public string Name { get; set; } = null!;
public string MiddleName { get; set; } = null!;
public string LastName { get; set; } = null!;
public string RoleId { get; set; } = null!;
public string[] Companies { get; set; } = null!;
public string[]? Projects { get; set; }
public bool SendInvitation { get; set; }
public bool Validate()
{
return Name != null;
}
}
}