1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-03-03 15:12:13 +02:00

26 lines
737 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository
{
public class Season
{
[SubSonicPrimaryKey(false)]
public virtual int SeasonId { get; set; }
2011-04-09 19:44:01 -07:00
public virtual int SeriesId { get; set; }
public virtual int SeasonNumber { get; set; }
public bool Monitored { get; set; }
2011-04-09 19:44:01 -07:00
public DayOfWeek? LastInfoSync { get; set; }
public DayOfWeek? LastDiskSync { get; set; }
[SubSonicToManyRelation]
2011-04-19 18:20:20 -07:00
public virtual List<Episode> Episodes { get; protected set; }
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
2011-04-19 18:20:20 -07:00
public virtual Series Series { get; protected set; }
}
}