using System.Collections.Generic;
namespace API.DTOs.Account;
public record UpdateUserDto
{
    public int UserId { get; set; }
    public string Username { get; set; }
    /// 
    /// This field will not result in any change to the User model. Changing email is not supported.
    /// 
    public string Email { get; set; }
    /// 
    /// List of Roles to assign to user. If admin not present, Pleb will be applied.
    /// If admin present, all libraries will be granted access and will ignore those from DTO.
    /// 
    public IList Roles { get; init; }
    /// 
    /// A list of libraries to grant access to
    /// 
    public IList Libraries { get; init; }
}