2012-04-20 09:42:13 +03:00
|
|
|
using System;
|
2013-03-06 23:30:53 +03:00
|
|
|
using NzbDrone.Core.DecisionEngine;
|
2012-04-20 09:42:13 +03:00
|
|
|
using NzbDrone.Core.Model;
|
2013-02-27 06:19:22 +03:00
|
|
|
using NzbDrone.Core.Qualities;
|
2013-03-02 21:25:39 +03:00
|
|
|
|
2012-04-20 09:42:13 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository.Search
|
|
|
|
{
|
2012-04-23 10:38:42 +03:00
|
|
|
public class SearchHistoryItem
|
2012-04-20 09:42:13 +03:00
|
|
|
{
|
|
|
|
public int Id { get; set; }
|
2012-04-23 10:38:42 +03:00
|
|
|
public int SearchHistoryId { get; set; }
|
2012-04-20 09:42:13 +03:00
|
|
|
public string ReportTitle { get; set; }
|
2012-04-21 11:16:15 +03:00
|
|
|
public string Indexer { get; set; }
|
2012-04-20 09:42:13 +03:00
|
|
|
public string NzbUrl { get; set; }
|
|
|
|
public string NzbInfoUrl { get; set; }
|
|
|
|
public bool Success { get; set; }
|
2013-03-06 23:30:53 +03:00
|
|
|
public ReportRejectionReasons SearchError { get; set; }
|
2013-02-27 06:19:22 +03:00
|
|
|
public Quality Quality { get; set; }
|
2012-04-23 09:31:11 +03:00
|
|
|
public bool Proper { get; set; }
|
|
|
|
public int Age { get; set; }
|
|
|
|
public LanguageType Language { get; set; }
|
|
|
|
public long Size { get; set; }
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return String.Format("{0} - {1} - {2}", ReportTitle, Quality, SearchError);
|
|
|
|
}
|
2012-04-20 09:42:13 +03:00
|
|
|
}
|
|
|
|
}
|