sonarr-repo-only/NzbDrone.Core/Entities/Episode/EpisodeInfo.cs

26 lines
819 B
C#
Raw Normal View History

2010-10-05 06:21:18 +00:00
using System;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Entities.Episode
2010-10-05 06:21:18 +00:00
{
[SubSonicTableNameOverride("EpisodeInfo")]
public class EpisodeInfo : BasicEpisode
2010-10-05 06:21:18 +00: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 02:49:27 +00:00
public int MediaFileId { get; set; }
2010-10-05 06:21:18 +00:00
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual Season Season { get; set; }
2010-10-12 02:49:27 +00:00
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual MediaFile File { get; set; }
2010-10-05 06:21:18 +00:00
}
}