Core.Thalos.Service.API/Core.Thalos.Application/UseCases/Users/Input/CreateUserRequest.cs
2025-08-31 18:01:13 -06:00

21 lines
624 B
C#

using Lib.Architecture.BuildingBlocks;
namespace Core.Thalos.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 TenantId { get; set; } = null!;
public bool SendInvitation { get; set; }
public bool Validate()
{
return Name != null;
}
}
}