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