1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 17:47:08 +00:00
Lidarr/NzbDrone.Core/Repository/EpisodeFile.cs
markus101 9d24ccd97a Fixes for Episode to EpisodeFile mapping.
Series details sorts with newest season and newest episode on top my default.
2011-02-22 22:23:59 -08:00

22 lines
649 B
C#

using System;
using System.Collections.Generic;
using NzbDrone.Core.Repository.Quality;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository
{
public class EpisodeFile
{
[SubSonicPrimaryKey]
public virtual int FileId { get; set; }
public int SeriesId { get; set; }
public string Path { get; set; }
public QualityTypes Quality { get; set; }
public bool Proper { get; set; }
public long Size { get; set; }
public DateTime DateAdded { get; set; }
[SubSonicToManyRelation]
public virtual List<Episode> Episodes { get; private set; }
}
}