using System;
using System.Collections.Generic;

namespace API.DTOs
{
    /// <summary>
    /// Represents a member of a Kavita server. 
    /// </summary>
    public class MemberDto
    {
        public int Id { get; init; }
        public string Username { get; init; }
        public DateTime Created { get; init; }
        public DateTime LastActive { get; init; }
        public IEnumerable<LibraryDto> Libraries { get; init; }
        public IEnumerable<string> Roles { get; init; }
    }
}