|
|
@ -11,6 +11,7 @@ namespace NzbDrone.Core.Repository
|
|
|
|
[SubSonicPrimaryKey(false)]
|
|
|
|
[SubSonicPrimaryKey(false)]
|
|
|
|
public virtual int EpisodeId { get; set; }
|
|
|
|
public virtual int EpisodeId { get; set; }
|
|
|
|
public virtual int SeriesId { get; set; }
|
|
|
|
public virtual int SeriesId { get; set; }
|
|
|
|
|
|
|
|
public virtual int FileId { get; set; }
|
|
|
|
public int SeasonNumber { get; set; }
|
|
|
|
public int SeasonNumber { get; set; }
|
|
|
|
public int EpisodeNumber { get; set; }
|
|
|
|
public int EpisodeNumber { get; set; }
|
|
|
|
public int SeasonId { get; set; }
|
|
|
|
public int SeasonId { get; set; }
|
|
|
@ -27,8 +28,8 @@ namespace NzbDrone.Core.Repository
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
|
|
public virtual Series Series { get; private set; }
|
|
|
|
public virtual Series Series { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicToManyRelation]
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
|
|
public virtual List<EpisodeFile> Files { get; private set; }
|
|
|
|
public virtual EpisodeFile EpisodeFile { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicToManyRelation]
|
|
|
|
[SubSonicToManyRelation]
|
|
|
|
public virtual List<History> Histories { get; private set; }
|
|
|
|
public virtual List<History> Histories { get; private set; }
|
|
|
|