mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
e9c63b81e6
Added health monitoring Updated database logging
22 lines
621 B
C#
22 lines
621 B
C#
using System;
|
|
using NzbDrone.Core.Repository.Quality;
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
{
|
|
public class History
|
|
{
|
|
[SubSonicPrimaryKey]
|
|
public virtual int HistoryId { get; set; }
|
|
|
|
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; }
|
|
|
|
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
|
public virtual Episode Episode { get; protected set; }
|
|
|
|
}
|
|
} |