Add tenant id property to user

This commit is contained in:
Sergio Matias Urquin 2025-08-31 18:01:13 -06:00
parent e25a982b55
commit 23a5ef9bfc
3 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ namespace Core.Thalos.Application.UseCases.Users.Input
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()

View File

@ -196,6 +196,7 @@ namespace Core.Thalos.Application.UseCases.Users
MiddleName = command.MiddleName,
LastName = command.LastName,
RoleId = command.RoleId,
TenantId = command.TenantId,
};
var result = await _thalosDALService.CreateUserAsync(request, command.SendInvitation, cancellationToken).ConfigureAwait(false);

View File

@ -7,5 +7,6 @@
public string? MiddleName { get; set; }
public string LastName { get; set; } = null!;
public string RoleId { get; set; } = null!;
public string TenantId { get; set; } = null!;
}
}