Sonarr/NzbDrone.Core/Repository/Episode.cs

27 lines
859 B
C#
Raw Normal View History

2010-09-28 03:40:01 +00:00
using System;
using NzbDrone.Core.Repository.Quality;
2010-09-28 05:35:15 +00:00
using SubSonic.SqlGeneration.Schema;
2010-09-28 03:40:01 +00:00
namespace NzbDrone.Core.Repository
{
public class Episode
{
[SubSonicPrimaryKey(false)]
public long EpisodeId { get; set; }
public long SeriesId { get; set; }
2010-09-28 05:01:54 +00:00
public string Title { get; set; }
public long SeasonId { get; set; }
public int SeasonNumber { get; set; }
2010-09-28 03:40:01 +00:00
public int EpisodeNumber { get; set; }
public DateTime AirDate { get; set; }
public QualityTypes Quality { get; set; }
2010-09-28 05:01:54 +00:00
public bool Proper { get; set; }
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual Season Season { get; private set; }
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual Series Series { get; private set; }
2010-09-28 03:40:01 +00:00
}
2010-09-28 05:58:49 +00:00
}