You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/NzbDrone.Core/Repository/Series.cs

61 lines
1.6 KiB

14 years ago
using System;
using System.ComponentModel;
using NzbDrone.Core.Repository.Quality;
14 years ago
using PetaPoco;
14 years ago
namespace NzbDrone.Core.Repository
14 years ago
{
[PrimaryKey("SeriesId", autoIncrement = false)]
14 years ago
public class Series
{
public virtual int SeriesId { get; set; }
14 years ago
public string Title { get; set; }
public string CleanTitle { get; set; }
public string Status { get; set; }
14 years ago
public string Overview { get; set; }
[DisplayName("Air on")]
public DayOfWeek? AirsDayOfWeek { get; set; }
public String AirTimes { get; set; }
public string Language { get; set; }
public string Path { get; set; }
14 years ago
public bool Monitored { get; set; }
public virtual int QualityProfileId { get; set; }
public bool SeasonFolder { get; set; }
public DateTime? LastInfoSync { get; set; }
public DateTime? LastDiskSync { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Series"/> is hidden.
/// </summary>
/// <value><c>true</c> if hidden; otherwise, <c>false</c>.</value>
/// <remarks>This field will be used for shows that are pending delete or
/// new series that haven't been successfully imported</remarks>
14 years ago
[Ignore]
public bool Hidden { get; set; }
14 years ago
[Ignore]
public QualityProfile QualityProfile { get; set; }
[ResultColumn]
public int EpisodeCount { get; set; }
[ResultColumn]
public int EpisodeFileCount { get; set; }
[ResultColumn]
public int SeasonCount { get; set; }
14 years ago
}
}