diff --git a/LeaderboardBackend/Models/Entities/Category.cs b/LeaderboardBackend/Models/Entities/Category.cs
index b17cd445..701edbf0 100644
--- a/LeaderboardBackend/Models/Entities/Category.cs
+++ b/LeaderboardBackend/Models/Entities/Category.cs
@@ -80,21 +80,4 @@ public class Category : IHasCreationTimestamp
/// The time at which the Category was deleted, or if the Category has not been deleted.
///
public Instant? DeletedAt { get; set; }
-
- public override bool Equals(object? obj)
- {
- return obj is Category category
- && Id == category.Id
- && Name == category.Name
- && Slug == category.Slug
- && Info == category.Info
- && SortDirection == category.SortDirection
- && Type == category.Type
- && LeaderboardId == category.LeaderboardId;
- }
-
- public override int GetHashCode()
- {
- return HashCode.Combine(Id, Name, Slug, LeaderboardId, Info, SortDirection, Type);
- }
}
diff --git a/LeaderboardBackend/Models/Entities/Leaderboard.cs b/LeaderboardBackend/Models/Entities/Leaderboard.cs
index 87e0ada5..75eee321 100644
--- a/LeaderboardBackend/Models/Entities/Leaderboard.cs
+++ b/LeaderboardBackend/Models/Entities/Leaderboard.cs
@@ -58,20 +58,6 @@ public class Leaderboard : IHasCreationTimestamp
/// A collection of `Category` entities for the `Leaderboard`.
///
public List? Categories { get; set; }
-
- public override bool Equals(object? obj)
- {
- return obj is Leaderboard leaderboard
- && Id == leaderboard.Id
- && Name == leaderboard.Name
- && Slug == leaderboard.Slug
- && Info == leaderboard.Info;
- }
-
- public override int GetHashCode()
- {
- return HashCode.Combine(Id, Name, Slug, Info);
- }
}
public class LeaderboardEntityTypeConfig : IEntityTypeConfiguration
diff --git a/LeaderboardBackend/Models/Entities/User.cs b/LeaderboardBackend/Models/Entities/User.cs
index 95b80de8..eb27e5d8 100644
--- a/LeaderboardBackend/Models/Entities/User.cs
+++ b/LeaderboardBackend/Models/Entities/User.cs
@@ -80,16 +80,6 @@ public class User : IHasCreationTimestamp
public Instant CreatedAt { get; set; }
public bool IsAdmin => Role == UserRole.Administrator;
-
- public override bool Equals(object? obj)
- {
- return obj is User user && Id.Equals(user.Id);
- }
-
- public override int GetHashCode()
- {
- return HashCode.Combine(Id, Username, Email);
- }
}
public class UserEntityTypeConfig : IEntityTypeConfiguration