mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-30 19:56:54 +00:00
cef7b6a8dc
Force Download added.
48 lines
No EOL
1.2 KiB
C#
48 lines
No EOL
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using NzbDrone.Core.Model;
|
|
using NzbDrone.Core.Repository.Quality;
|
|
using PetaPoco;
|
|
|
|
namespace NzbDrone.Core.Repository.Search
|
|
{
|
|
[PrimaryKey("Id", autoIncrement = true)]
|
|
[TableName("SearchResults")]
|
|
public class SearchResult
|
|
{
|
|
public int Id { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public int? SeasonNumber { get; set; }
|
|
public int? EpisodeId { get; set; }
|
|
public DateTime SearchTime { get; set; }
|
|
public bool SuccessfulDownload { get; set; }
|
|
|
|
[ResultColumn]
|
|
public List<SearchResultItem> SearchResultItems { get; set; }
|
|
|
|
[Ignore]
|
|
public List<int> Successes { get; set; }
|
|
|
|
[ResultColumn]
|
|
public string SeriesTitle { get; set; }
|
|
|
|
[ResultColumn]
|
|
public bool IsDaily { get; set; }
|
|
|
|
[ResultColumn]
|
|
public int? EpisodeNumber { get; set; }
|
|
|
|
[ResultColumn]
|
|
public string EpisodeTitle { get; set; }
|
|
|
|
[ResultColumn]
|
|
public DateTime AirDate { get; set; }
|
|
|
|
[ResultColumn]
|
|
public int TotalItems { get; set; }
|
|
|
|
[ResultColumn]
|
|
public int SuccessfulCount { get; set; }
|
|
}
|
|
} |