mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Updated subsonic to latest nightly build
Added foreign relations to all entities object Removed unnecessary libraries
This commit is contained in:
parent
899e5a9a22
commit
beaf0cf939
19 changed files with 3503 additions and 4821 deletions
|
@ -1,12 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
public class Series
|
||||
{
|
||||
[SubSonicPrimaryKey]
|
||||
public string TvdbId { get; set; }
|
||||
[SubSonicPrimaryKey(false)]
|
||||
public int TvdbId { get; set; }
|
||||
|
||||
public string SeriesName { get; set; }
|
||||
|
||||
|
@ -22,5 +23,11 @@ namespace NzbDrone.Core.Repository
|
|||
public string Language { get; set; }
|
||||
|
||||
public string Path { get; set; }
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<Season> Seasons { get; private set; }
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<Episode> Episodes { get; private set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue