mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-03 19:38:20 -05:00
* added Sonarr search type option * updated test data * fixed duplicated Sonarr search items when using search type Season * added enhanced logging option along with Sonarr and Radarr enhanced logs * switched to ghcr.io
21 lines
366 B
C#
21 lines
366 B
C#
namespace Domain.Models.Arr;
|
|
|
|
public class SearchItem
|
|
{
|
|
public long Id { get; set; }
|
|
|
|
public override bool Equals(object? obj)
|
|
{
|
|
if (obj is not SearchItem other)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
return Id == other.Id;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return Id.GetHashCode();
|
|
}
|
|
} |