1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-19 10:54:05 +02:00
Sonarr/NzbDrone.Core/SeriesStats/SeriesStatistics.cs

27 lines
645 B
C#
Raw Normal View History

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