Kavita/API/DTOs/UserDto.cs
2025-05-04 07:14:44 -07:00

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; }
}