Kavita/API/Entities/User/ClientDeviceHistory.cs
Joe Milazzo 9f29fa593d
Progress Overhaul + Profile Page and a LOT more! (#4262)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2025-12-09 10:00:11 -07:00

23 lines
540 B
C#

using System;
using API.Entities.Progress;
using API.Entities.User;
namespace API.Entities;
public class ClientDeviceHistory
{
public int Id { get; set; }
public int DeviceId { get; set; }
/// <summary>
/// Snapshot of ClientInfoData at a point in time
/// Useful for tracking IP changes, browser updates, etc.
/// </summary>
public ClientInfoData ClientInfo { get; set; } = new();
public DateTime CapturedAtUtc { get; set; }
// Navigation
public ClientDevice Device { get; set; } = null!;
}