1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-21 01:49:57 +02:00
Sonarr/NzbDrone.Core/SeriesStats/SeriesStatistics.cs

27 lines
645 B
C#
Raw Normal View History

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