Sonarr/src/NzbDrone.Core/MediaFiles/EpisodeFile.cs

31 lines
999 B
C#
Raw Normal View History

2013-04-01 06:22:16 +00:00
using System;
using System.Collections.Generic;
using Marr.Data;
2013-03-01 07:03:41 +00:00
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Qualities;
2013-03-01 07:03:41 +00:00
using NzbDrone.Core.Tv;
2014-04-10 17:58:50 +00:00
using NzbDrone.Core.MediaFiles.MediaInfo;
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
{
public int SeriesId { get; set; }
public int SeasonNumber { get; set; }
public string RelativePath { get; set; }
public string Path { get; set; }
public long Size { get; set; }
public DateTime DateAdded { get; set; }
public string SceneName { get; set; }
public string ReleaseGroup { get; set; }
2013-04-01 06:22:16 +00:00
public QualityModel Quality { get; set; }
2014-04-10 17:58:50 +00:00
public MediaInfoModel MediaInfo { get; set; }
public LazyLoaded<List<Episode>> Episodes { get; set; }
public LazyLoaded<Series> Series { get; set; }
public override string ToString()
{
return string.Format("[{0}] {1}", Id, RelativePath);
}
2010-10-12 02:49:27 +00:00
}
2011-04-10 02:44:01 +00:00
}