mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-01-15 16:40:22 -05:00
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: DieselTech <30128380+DieselTech@users.noreply.github.com> Co-authored-by: Alex George <xzeroknightx@gmail.com> Co-authored-by: Lucas Winther <lucasw89@live.dk> Co-authored-by: Toni Kielo <toni.kielo@gmail.com> Co-authored-by: Patrick Orave <oravep@gmail.com>
26 lines
708 B
C#
26 lines
708 B
C#
using System;
|
|
|
|
namespace API.DTOs.Progress;
|
|
|
|
public sealed record ClientDeviceDto
|
|
{
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// User-friendly name, defaults to generated name like "Chrome on Windows"
|
|
/// </summary>
|
|
public string FriendlyName { get; set; } = string.Empty;
|
|
|
|
public string? UiFingerprint { get; set; }
|
|
|
|
/// <summary>
|
|
/// Most recent stable ClientInfoData (excluding IP/timestamp changes)
|
|
/// </summary>
|
|
public ClientInfoDto CurrentClientInfo { get; set; } = new();
|
|
|
|
public DateTime FirstSeenUtc { get; set; }
|
|
public DateTime LastSeenUtc { get; set; }
|
|
|
|
public string OwnerUsername { get; set; }
|
|
public int OwnerUserId { get; set; }
|
|
}
|