1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-16 16:04:08 +01:00
Radarr/NzbDrone.Core/SeriesStats/SeriesStatistics.cs

27 lines
645 B
C#
Raw Normal View History

2013-04-20 22:09:12 +02:00
using System;
2013-04-20 23:23:17 +02:00
using NzbDrone.Core.Datastore;
2013-04-20 22:09:12 +02:00
2013-04-21 01:36:23 +02:00
namespace NzbDrone.Core.SeriesStats
2013-04-20 22:09:12 +02:00
{
2013-04-20 23:23:17 +02:00
public class SeriesStatistics : ResultSet
2013-04-20 22:09:12 +02:00
{
public int SeriesId { get; set; }
2013-04-22 03:21:24 +02:00
public int SeasonCount { get; set; }
2013-04-20 23:23:17 +02:00
public string NextAiringString { get; set; }
2013-04-21 01:36:23 +02:00
public int EpisodeFileCount { get; set; }
public int EpisodeCount { get; set; }
2013-04-20 23:23:17 +02:00
public DateTime? NextAiring
{
2013-04-21 01:36:23 +02:00
get
{
DateTime nextAiring;
if (!DateTime.TryParse(NextAiringString, out nextAiring)) return null;
return nextAiring;
}
2013-04-20 23:23:17 +02:00
}
2013-04-20 22:09:12 +02:00
}
}