mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
27 lines
645 B
C#
27 lines
645 B
C#
using System;
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
namespace NzbDrone.Core.SeriesStats
|
|
{
|
|
public class SeriesStatistics : ResultSet
|
|
{
|
|
public int SeriesId { get; set; }
|
|
public int SeasonCount { get; set; }
|
|
public string NextAiringString { get; set; }
|
|
public int EpisodeFileCount { get; set; }
|
|
public int EpisodeCount { get; set; }
|
|
|
|
public DateTime? NextAiring
|
|
{
|
|
get
|
|
{
|
|
DateTime nextAiring;
|
|
|
|
if (!DateTime.TryParse(NextAiringString, out nextAiring)) return null;
|
|
|
|
return nextAiring;
|
|
}
|
|
}
|
|
}
|
|
}
|