mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed Episode to EpisodeFile relationship (So getting the EpisodeFIle gets associated Episode(s) as well.
This commit is contained in:
parent
568a9d1d24
commit
e7cabfe235
5 changed files with 15 additions and 6 deletions
|
@ -11,7 +11,7 @@ namespace NzbDrone.Core.Repository
|
|||
[SubSonicPrimaryKey(false)]
|
||||
public virtual int EpisodeId { get; set; }
|
||||
public virtual int SeriesId { get; set; }
|
||||
public virtual int FileId { get; set; }
|
||||
public virtual int EpisodeFileId { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public int SeasonId { get; set; }
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace NzbDrone.Core.Repository
|
|||
public class EpisodeFile
|
||||
{
|
||||
[SubSonicPrimaryKey]
|
||||
public virtual int FileId { get; set; }
|
||||
public virtual int EpisodeFileId { get; set; }
|
||||
public int SeriesId { get; set; }
|
||||
public string Path { get; set; }
|
||||
public QualityTypes Quality { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue