sonarr-repo-only/NzbDrone.Core/Repository/History.cs

24 lines
692 B
C#
Raw Normal View History

using System;
using NzbDrone.Core.Model;
using NzbDrone.Core.Repository.Quality;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository
{
public class History
{
2011-04-06 03:14:43 +00:00
[SubSonicPrimaryKey]
public virtual int HistoryId { get; set; }
2011-04-10 02:44:01 +00:00
public virtual int EpisodeId { get; set; }
public string NzbTitle { get; set; }
public QualityTypes Quality { get; set; }
public DateTime Date { get; set; }
public bool IsProper { get; set; }
2011-05-19 03:58:42 +00:00
public string Indexer { get; set; }
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual Episode Episode { get; protected set; }
}
2011-04-10 02:44:01 +00:00
}