2011-01-29 07:10:22 +01:00
|
|
|
|
using System;
|
2011-04-28 02:11:08 +02:00
|
|
|
|
using NzbDrone.Core.Model;
|
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-04-06 05:14:43 +02:00
|
|
|
|
[SubSonicPrimaryKey]
|
2011-03-23 06:19:23 +01:00
|
|
|
|
public virtual int HistoryId { get; set; }
|
2011-04-10 04:44:01 +02:00
|
|
|
|
|
2011-01-29 07:10:22 +01:00
|
|
|
|
public virtual int EpisodeId { 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; }
|
2011-04-28 02:11:08 +02:00
|
|
|
|
public IndexerType? Indexer { get; set; }
|
2011-04-22 04:23:31 +02:00
|
|
|
|
|
2011-01-29 07:10:22 +01:00
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
2011-04-22 04:23:31 +02:00
|
|
|
|
public virtual Episode Episode { get; protected set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
|
|
|
|
|
}
|
2011-04-10 04:44:01 +02:00
|
|
|
|
}
|