using System; using System.Collections.Generic; using NzbDrone.Core.Datastore; namespace NzbDrone.Core.History { public class History : ModelBase { public History() { Data = new Dictionary(StringComparer.OrdinalIgnoreCase); } public int IndexerId { get; set; } public DateTime Date { get; set; } public HistoryEventType EventType { get; set; } public Dictionary Data { get; set; } public string DownloadId { get; set; } } public enum HistoryEventType { Unknown = 0, ReleaseGrabbed = 1, IndexerQuery = 2, IndexerRss = 3, IndexerAuth = 4, IndexerCapabilities = 5 } }