2013-04-01 06:22:16 +00:00
|
|
|
|
using System;
|
2013-03-01 07:03:41 +00:00
|
|
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
|
using NzbDrone.Core.Tv;
|
2010-10-12 02:49:27 +00:00
|
|
|
|
|
2013-03-01 07:03:41 +00:00
|
|
|
|
namespace NzbDrone.Core.MediaFiles
|
2010-10-12 02:49:27 +00:00
|
|
|
|
{
|
2013-03-01 07:03:41 +00:00
|
|
|
|
public class EpisodeFile : ModelBase
|
2010-10-12 02:49:27 +00:00
|
|
|
|
{
|
2011-06-18 04:39:02 +00:00
|
|
|
|
public int SeriesId { get; set; }
|
|
|
|
|
public int SeasonNumber { get; set; }
|
2010-10-12 02:49:27 +00:00
|
|
|
|
public string Path { get; set; }
|
2010-10-21 01:49:23 +00:00
|
|
|
|
public long Size { get; set; }
|
|
|
|
|
public DateTime DateAdded { get; set; }
|
2012-08-03 07:01:34 +00:00
|
|
|
|
public string SceneName { get; set; }
|
2013-04-01 06:22:16 +00:00
|
|
|
|
public QualityModel Quality { get; set; }
|
2013-04-15 01:41:39 +00:00
|
|
|
|
public LazyList<Episode> Episodes { get; set; }
|
2013-07-16 02:56:46 +00:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return String.Format("[{0}] {1}", Id, Path);
|
|
|
|
|
}
|
2010-10-12 02:49:27 +00:00
|
|
|
|
}
|
2011-04-10 02:44:01 +00:00
|
|
|
|
}
|