2010-09-28 03:40:01 +00:00
|
|
|
|
using System;
|
2010-10-01 00:09:22 +00:00
|
|
|
|
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
|
|
|
|
|
{
|
2010-10-01 00:09:22 +00:00
|
|
|
|
[SubSonicPrimaryKey(false)]
|
|
|
|
|
public long EpisodeId { get; set; }
|
|
|
|
|
|
2010-09-28 19:32:19 +00:00
|
|
|
|
public long SeriesId { get; set; }
|
2010-09-28 05:01:54 +00:00
|
|
|
|
public string Title { get; set; }
|
2010-10-01 00:09:22 +00:00
|
|
|
|
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; }
|
2010-10-01 00:09:22 +00:00
|
|
|
|
public QualityTypes Quality { get; set; }
|
2010-09-28 05:01:54 +00:00
|
|
|
|
public bool Proper { get; set; }
|
2010-10-01 00:09:22 +00:00
|
|
|
|
|
|
|
|
|
[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
|
|
|
|
}
|