mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-24 21:58:45 -05:00
21 lines
364 B
C#
21 lines
364 B
C#
namespace Data.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();
|
|
}
|
|
} |