using System;
namespace Jellyfin.Plugin.Herald.Stats;
///
/// Watch activity of one user over a range of days.
///
public class UserWatchSummary
{
///
/// Gets or sets the user id.
///
public Guid UserId { get; set; }
///
/// Gets or sets the user name. null if the user no longer exists.
///
public string? UserName { get; set; }
///
/// Gets or sets the watched seconds in the range.
///
public long WatchedSeconds { get; set; }
///
/// Gets or sets the watched hours in the range, rounded to two decimals.
///
public double WatchedHours { get; set; }
///
/// Gets or sets the number of started plays in the range.
///
public int PlayCount { get; set; }
///
/// Gets or sets the last playback activity in the range (UTC), if any.
///
public DateTime? LastActivity { get; set; }
}