1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-22 01:11:43 +02:00
Radarr/NzbDrone.Core/Repository/EpisodeFile.cs
Mark McDowall 560706ae8f Fixed Renaming of episodes to include extension.
PostDownload Importing setup, need to setup job for period scan.
2011-06-06 23:29:07 -07:00

27 lines
828 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 EpisodeFileId { get; set; }
public virtual int SeriesId { get; set; }
public virtual int SeasonNumber { 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 IList<Episode> Episodes { get; set; }
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual Series Series { get; set; }
}
}