2012-02-21 04:25:19 +01:00
|
|
|
|
using System;
|
2012-02-21 07:50:38 +01:00
|
|
|
|
using System.Collections.Generic;
|
2012-02-21 04:25:19 +01: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 07:50:38 +01:00
|
|
|
|
|
|
|
|
|
[ResultColumn]
|
|
|
|
|
public List<Episode> Episodes { get; set; }
|
2012-02-21 04:25:19 +01:00
|
|
|
|
}
|
|
|
|
|
}
|