mirror of https://github.com/lidarr/Lidarr
20 lines
498 B
C#
20 lines
498 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
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; }
|
|
|
|
[ResultColumn]
|
|
public List<Episode> Episodes { get; set; }
|
|
}
|
|
} |