mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
4bb4faf626
Still need to remove System.Data.Sqlite, prefer an option in OrmLite to pluralize table names.
54 lines
1.8 KiB
C#
54 lines
1.8 KiB
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System;
|
|
using NzbDrone.Core.Datastore;
|
|
using NzbDrone.Core.Model;
|
|
using NzbDrone.Core.Qualities;
|
|
using ServiceStack.DataAnnotations;
|
|
|
|
|
|
namespace NzbDrone.Core.Tv
|
|
{
|
|
public enum SeriesTypes
|
|
{
|
|
Standard = 0,
|
|
Daily = 1,
|
|
Anime = 2,
|
|
}
|
|
|
|
public class Series : ModelBase
|
|
{
|
|
public int TvDbId { get; set; }
|
|
public string Title { get; set; }
|
|
public string CleanTitle { get; set; }
|
|
public SeriesStatusType Status { get; set; }
|
|
public string Overview { get; set; }
|
|
public String AirTime { get; set; }
|
|
public string Language { get; set; }
|
|
public string Path { get; set; }
|
|
public bool Monitored { get; set; }
|
|
public int QualityProfileId { get; set; }
|
|
public bool SeasonFolder { get; set; }
|
|
public DateTime? LastInfoSync { get; set; }
|
|
public DateTime? LastDiskSync { get; set; }
|
|
public int Runtime { get; set; }
|
|
public List<MediaCover.MediaCover> Covers { get; set; }
|
|
public SeriesTypes SeriesType { get; set; }
|
|
public BacklogSettingType BacklogSetting { get; set; }
|
|
public string Network { get; set; }
|
|
public DateTime? CustomStartDate { get; set; }
|
|
public bool UseSceneNumbering { get; set; }
|
|
public int TvRageId { get; set; }
|
|
public string TvRageTitle { get; set; }
|
|
|
|
//Todo: This should be a double since there are timezones that aren't on a full hour offset
|
|
public int UtcOffset { get; set; }
|
|
|
|
public DateTime? FirstAired { get; set; }
|
|
public QualityProfile QualityProfile { get; set; }
|
|
public int EpisodeCount { get; set; }
|
|
public int EpisodeFileCount { get; set; }
|
|
public int SeasonCount { get; set; }
|
|
public DateTime? NextAiring { get; set; }
|
|
}
|
|
} |