using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace API.DTOs.Account;
public class InviteUserDto
{
    [Required]
    public string Email { get; init; }
    /// 
    /// 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 ICollection Roles { get; init; }
    /// 
    /// A list of libraries to grant access to
    /// 
    public IList Libraries { get; init; }
    public bool SendEmail { get; init; } = true;
}