mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 12:14:44 -04:00
19 lines
510 B
C#
19 lines
510 B
C#
|
|
using System;
|
|
using API.DTOs.Account;
|
|
|
|
namespace API.DTOs;
|
|
#nullable enable
|
|
|
|
public sealed record UserDto
|
|
{
|
|
public string Username { get; init; } = null!;
|
|
public string Email { get; init; } = null!;
|
|
public string Token { get; set; } = null!;
|
|
public string? RefreshToken { get; set; }
|
|
public string? ApiKey { get; init; }
|
|
public UserPreferencesDto? Preferences { get; set; }
|
|
public AgeRestrictionDto? AgeRestriction { get; init; }
|
|
public string KavitaVersion { get; set; }
|
|
}
|