mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 15:37:55 +02:00
32 lines
749 B
C#
32 lines
749 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
namespace NzbDrone.Core.History
|
|
{
|
|
public class History : ModelBase
|
|
{
|
|
public History()
|
|
{
|
|
Data = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
}
|
|
|
|
public int IndexerId { get; set; }
|
|
public DateTime Date { get; set; }
|
|
public HistoryEventType EventType { get; set; }
|
|
public Dictionary<string, string> Data { get; set; }
|
|
|
|
public string DownloadId { get; set; }
|
|
}
|
|
|
|
public enum HistoryEventType
|
|
{
|
|
Unknown = 0,
|
|
ReleaseGrabbed = 1,
|
|
IndexerQuery = 2,
|
|
IndexerRss = 3,
|
|
IndexerAuth = 4,
|
|
IndexerCapabilities = 5
|
|
}
|
|
}
|