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