2012-02-21 03:25:19 +00:00
|
|
|
|
using System;
|
2012-02-21 06:50:38 +00:00
|
|
|
|
using System.Collections.Generic;
|
2012-02-21 03:25:19 +00:00
|
|
|
|
using NzbDrone.Core.Model;
|
|
|
|
|
using PetaPoco;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
|
{
|
|
|
|
|
[TableName("Seasons")]
|
|
|
|
|
[PrimaryKey("SeasonId", autoIncrement = true)]
|
|
|
|
|
public class Season
|
|
|
|
|
{
|
|
|
|
|
public int SeasonId { get; set; }
|
|
|
|
|
public int SeriesId { get; set; }
|
|
|
|
|
public int SeasonNumber { get; set; }
|
|
|
|
|
public Boolean Ignored { get; set; }
|
2012-02-21 06:50:38 +00:00
|
|
|
|
|
|
|
|
|
[ResultColumn]
|
|
|
|
|
public List<Episode> Episodes { get; set; }
|
2012-02-21 03:25:19 +00:00
|
|
|
|
}
|
|
|
|
|
}
|