mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-11 13:32:42 +01:00
e6fb02fac6
Added sample xml from all indexers to test project Fixed a bug where parser would try to use file extension from a report title.
59 lines
1.6 KiB
C#
59 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using NzbDrone.Core.Repository.Quality;
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
{
|
|
public class Series
|
|
{
|
|
[SubSonicPrimaryKey(false)]
|
|
public virtual int SeriesId { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public string Title { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public string CleanTitle { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public string Status { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public string Overview { get; set; }
|
|
|
|
[DisplayName("Air on")]
|
|
public DayOfWeek? AirsDayOfWeek { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public String AirTimes { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public string Language { get; set; }
|
|
|
|
public string Path { get; set; }
|
|
|
|
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; }
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true, JoinKeyName = "QualityProfileId")]
|
|
public virtual QualityProfile QualityProfile { get; set; }
|
|
|
|
[SubSonicToManyRelation]
|
|
public virtual List<Season> Seasons { get; protected set; }
|
|
|
|
[SubSonicToManyRelation]
|
|
public virtual List<Episode> Episodes { get; protected set; }
|
|
|
|
[SubSonicToManyRelation]
|
|
public virtual List<EpisodeFile> EpisodeFiles { get; protected set; }
|
|
}
|
|
} |