mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-13 22:43:35 +01:00
23 lines
531 B
C#
23 lines
531 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using NzbDrone.Core.Tv;
|
|
|
|
namespace NzbDrone.Core.Parser.Model
|
|
{
|
|
public class RemoteEpisode
|
|
{
|
|
public ReportInfo Report { get; set; }
|
|
|
|
public ParsedEpisodeInfo ParsedEpisodeInfo { get; set; }
|
|
|
|
public Series Series { get; set; }
|
|
|
|
public List<Episode> Episodes { get; set; }
|
|
|
|
public bool IsRecentEpisode()
|
|
{
|
|
return Episodes.Any(e => e.AirDate >= DateTime.Today.AddDays(-7));
|
|
}
|
|
}
|
|
} |