You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
531 B
23 lines
531 B
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));
|
|
}
|
|
}
|
|
} |