mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
bf1ff29519
commited somewhere between vancouver and vegas @ 2135ft. Alt and 480mph.
31 lines
999 B
C#
31 lines
999 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web.Script.Serialization;
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
{
|
|
public class Episode
|
|
{
|
|
[SubSonicPrimaryKey(false)]
|
|
public virtual int EpisodeId { get; set; }
|
|
public virtual int SeriesId { get; set; }
|
|
public int SeasonNumber { get; set; }
|
|
public int EpisodeNumber { get; set; }
|
|
public int SeasonId { get; set; }
|
|
public string Title { get; set; }
|
|
public DateTime AirDate { get; set; }
|
|
public string Overview { get; set; }
|
|
public string Language { get; set; }
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
public virtual Season Season { get; set; }
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
public virtual Series Series { get; private set; }
|
|
|
|
[SubSonicToManyRelation]
|
|
public virtual List<EpisodeFile> Files { get; private set; }
|
|
}
|
|
}
|