2011-01-29 07:10:22 +01:00
|
|
|
|
using System;
|
2011-02-18 17:36:50 +01:00
|
|
|
|
using NzbDrone.Core.Repository.Quality;
|
2011-01-29 07:10:22 +01:00
|
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
|
{
|
|
|
|
|
public class History
|
|
|
|
|
{
|
2011-03-23 06:19:23 +01:00
|
|
|
|
[SubSonicPrimaryKey(true)]
|
|
|
|
|
public virtual int HistoryId { get; set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
public virtual int EpisodeId { get; set; }
|
2011-03-23 06:19:23 +01:00
|
|
|
|
public virtual int IndexerId { get; set; }
|
2011-02-22 02:05:56 +01:00
|
|
|
|
public string NzbTitle { get; set; }
|
2011-02-18 17:36:50 +01:00
|
|
|
|
public QualityTypes Quality { get; set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
public DateTime Date { get; set; }
|
|
|
|
|
public bool IsProper { get; set; }
|
|
|
|
|
|
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
2011-02-18 17:36:50 +01:00
|
|
|
|
public virtual Episode Episode { get; private set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
|
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
2011-02-18 17:36:50 +01:00
|
|
|
|
public virtual Indexer Indexer { get; private set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
}
|
|
|
|
|
}
|