You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using NzbDrone.Core.Datastore;
|
|
using NzbDrone.Core.Indexers;
|
|
using NzbDrone.Core.Parser.Model;
|
|
|
|
namespace NzbDrone.Core.Download.History
|
|
{
|
|
public class DownloadHistory : ModelBase
|
|
{
|
|
public DownloadHistoryEventType EventType { get; set; }
|
|
public int AuthorId { get; set; }
|
|
public string DownloadId { get; set; }
|
|
public string SourceTitle { get; set; }
|
|
public DateTime Date { get; set; }
|
|
public DownloadProtocol Protocol { get; set; }
|
|
public int IndexerId { get; set; }
|
|
public int DownloadClientId { get; set; }
|
|
public ReleaseInfo Release { get; set; }
|
|
public Dictionary<string, string> Data { get; set; }
|
|
public DownloadHistory()
|
|
{
|
|
Data = new Dictionary<string, string>();
|
|
}
|
|
}
|
|
|
|
public enum DownloadHistoryEventType
|
|
{
|
|
DownloadGrabbed = 1,
|
|
DownloadImported = 2,
|
|
DownloadFailed = 3,
|
|
DownloadIgnored = 4,
|
|
FileImported = 5,
|
|
DownloadImportIncomplete = 6
|
|
}
|
|
}
|