2011-01-28 22:10:22 -08:00
|
|
|
using System;
|
2011-04-27 17:11:08 -07:00
|
|
|
using NzbDrone.Core.Model;
|
2011-02-18 08:36:50 -08:00
|
|
|
using NzbDrone.Core.Repository.Quality;
|
2011-01-28 22:10:22 -08:00
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
{
|
|
|
|
public class History
|
|
|
|
{
|
2011-04-05 20:14:43 -07:00
|
|
|
[SubSonicPrimaryKey]
|
2011-03-22 22:19:23 -07:00
|
|
|
public virtual int HistoryId { get; set; }
|
2011-04-09 19:44:01 -07:00
|
|
|
|
2011-01-28 22:10:22 -08:00
|
|
|
public virtual int EpisodeId { get; set; }
|
2011-02-21 17:05:56 -08:00
|
|
|
public string NzbTitle { get; set; }
|
2011-02-18 08:36:50 -08:00
|
|
|
public QualityTypes Quality { get; set; }
|
2011-01-28 22:10:22 -08:00
|
|
|
public DateTime Date { get; set; }
|
|
|
|
public bool IsProper { get; set; }
|
2011-04-27 17:11:08 -07:00
|
|
|
public IndexerType? Indexer { get; set; }
|
2011-04-21 19:23:31 -07:00
|
|
|
|
2011-01-28 22:10:22 -08:00
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
2011-04-21 19:23:31 -07:00
|
|
|
public virtual Episode Episode { get; protected set; }
|
2011-01-28 22:10:22 -08:00
|
|
|
|
|
|
|
}
|
2011-04-09 19:44:01 -07:00
|
|
|
}
|