2010-10-05 08:21:18 +02:00
|
|
|
|
using System;
|
|
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
2010-10-08 05:35:04 +02:00
|
|
|
|
namespace NzbDrone.Core.Entities.Episode
|
2010-10-05 08:21:18 +02:00
|
|
|
|
{
|
|
|
|
|
[SubSonicTableNameOverride("EpisodeInfo")]
|
2010-10-08 05:35:04 +02:00
|
|
|
|
public class EpisodeInfo : BasicEpisode
|
2010-10-05 08:21:18 +02:00
|
|
|
|
{
|
|
|
|
|
[SubSonicPrimaryKey(false)]
|
|
|
|
|
public virtual int EpisodeId { get; set; }
|
|
|
|
|
public int SeasonId { get; set; }
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public DateTime AirDate { get; set; }
|
|
|
|
|
[SubSonicLongString]
|
|
|
|
|
public string Overview { get; set; }
|
|
|
|
|
public string Language { get; set; }
|
2010-10-12 04:49:27 +02:00
|
|
|
|
public int MediaFileId { get; set; }
|
2010-10-05 08:21:18 +02:00
|
|
|
|
|
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
|
|
|
public virtual Season Season { get; set; }
|
2010-10-12 04:49:27 +02:00
|
|
|
|
|
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
|
|
|
public virtual MediaFile File { get; set; }
|
2010-10-05 08:21:18 +02:00
|
|
|
|
}
|
|
|
|
|
}
|