Files
adas-core/adas-core.Domain/Models/DTO/UpdateUserWithAuthDto.cs
T
2026-06-26 10:29:23 +02:00

17 lines
630 B
C#

using adas_core.Domain.Models.MongoModels;
namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to update a user along with their authentication details.
/// </summary>
/// <remarks>
/// This DTO is typically used to transfer user account and authentication information in update operations.
/// </remarks>
public class UpdateUserWithAuthDto
{
public User User { get; set; } = new();
public List<Authorization> Authorizations { get; set; } = [];
public List<Authorization> NewAuthorizations { get; set; } = [];
public List<string> AuthsToDelete { get; set; } = [];
}