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