mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 18:30:45 +00:00
38 lines
No EOL
883 B
C#
38 lines
No EOL
883 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using NzbDrone.Core.Datastore;
|
|
using NzbDrone.Core.Tv;
|
|
|
|
namespace NzbDrone.Core.History
|
|
{
|
|
public class History : ModelBase
|
|
{
|
|
public History()
|
|
{
|
|
Data = new Dictionary<string, string>();
|
|
}
|
|
|
|
public int EpisodeId { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public string SourceTitle { get; set; }
|
|
public QualityModel Quality { get; set; }
|
|
public DateTime Date { get; set; }
|
|
|
|
public Episode Episode { get; set; }
|
|
public Series Series { get; set; }
|
|
|
|
public HistoryEventType EventType { get; set; }
|
|
|
|
public Dictionary<string, string> Data { get; set; }
|
|
}
|
|
|
|
|
|
public enum HistoryEventType
|
|
{
|
|
Unknown = 0,
|
|
Grabbed = 1,
|
|
SeriesFolderImported = 2,
|
|
DownloadFolderImported = 3
|
|
}
|
|
|
|
} |