2010-09-28 23:44:33 +03:00
|
|
|
using System;
|
2010-10-01 03:09:22 +03:00
|
|
|
using System.Collections.Generic;
|
2010-09-28 23:44:33 +03:00
|
|
|
using System.ServiceModel.Syndication;
|
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
{
|
|
|
|
public class Season
|
|
|
|
{
|
2010-10-01 03:09:22 +03:00
|
|
|
[SubSonicPrimaryKey(false)]
|
|
|
|
public long SeasonId { get; set; }
|
2010-09-28 23:44:33 +03:00
|
|
|
public long SeriesId { get; set; }
|
|
|
|
public int SeasonNumber { get; set; }
|
|
|
|
public bool Monitored { get; set; }
|
|
|
|
public string Folder { get; set; }
|
2010-10-01 03:09:22 +03:00
|
|
|
|
|
|
|
[SubSonicToManyRelation]
|
|
|
|
public virtual List<Episode> Episodes { get; set; }
|
|
|
|
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
|
|
public virtual Series Series { get; set; }
|
2010-09-28 23:44:33 +03:00
|
|
|
}
|
|
|
|
}
|