mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 13:44:31 -04:00
27 lines
795 B
C#
27 lines
795 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using API.DTOs.Account;
|
|
|
|
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 string? Email { get; init; }
|
|
/// <summary>
|
|
/// If the member is still pending or not
|
|
/// </summary>
|
|
public bool IsPending { get; init; }
|
|
public AgeRestrictionDto? AgeRestriction { get; init; }
|
|
public DateTime Created { get; init; }
|
|
public DateTime CreatedUtc { get; init; }
|
|
public DateTime LastActive { get; init; }
|
|
public DateTime LastActiveUtc { get; init; }
|
|
public IEnumerable<LibraryDto>? Libraries { get; init; }
|
|
public IEnumerable<string>? Roles { get; init; }
|
|
}
|