mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Added basic episode support
This commit is contained in:
parent
606140832d
commit
81e155ae42
33 changed files with 458 additions and 290 deletions
|
@ -8,16 +8,16 @@ namespace NzbDrone.Core.Repository
|
|||
public class Season
|
||||
{
|
||||
[SubSonicPrimaryKey(false)]
|
||||
public long SeasonId { get; set; }
|
||||
public virtual long SeasonId { get; set; }
|
||||
public long SeriesId { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public bool Monitored { get; set; }
|
||||
public string Folder { get; set; }
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<Episode> Episodes { get; set; }
|
||||
public virtual List<Episode.Episode> Episodes { get; private set; }
|
||||
|
||||
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
||||
public virtual Series Series { get; set; }
|
||||
public virtual Series Series { get; private set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue