using Kyoo.Models.Attributes;
namespace Kyoo.Models
{
///
/// Metadata of episode currently watching by an user
///
public class WatchedEpisode : IResource
{
///
[SerializeIgnore] public int ID
{
get => Episode.ID;
set => Episode.ID = value;
}
///
[SerializeIgnore] public string Slug => Episode.Slug;
///
/// The episode currently watched
///
public Episode Episode { get; set; }
///
/// Where the player has stopped watching the episode (-1 if not started, else between 0 and 100).
///
public int WatchedPercentage { get; set; }
}
}