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; } } }