using System; using NzbDrone.Core.Repository.Quality; using SubSonic.SqlGeneration.Schema; namespace NzbDrone.Core.Repository.Episode { public class Episode { public virtual int SeriesId { get; set; } public int SeasonNumber { get; set; } public int EpisodeNumber { get; set; } [SubSonicToOneRelation(ThisClassContainsJoinKey = true)] public virtual Series Series { get; private set; } } }