PrivateChatsRepositoryTests

This commit is contained in:
Artemy
2025-07-07 19:33:47 +07:00
parent b027b20fc3
commit baeafad007
6 changed files with 323 additions and 14 deletions
+8
View File
@@ -6,4 +6,12 @@ public class PrivateChat
public Guid UserAId { get; set; }
public Guid UserBId { get; set; }
public List<Message> Messages { get; set; } = new List<Message>();
public override bool Equals(object? obj)
{
PrivateChat other = obj as PrivateChat;
return Id == other.Id &&
UserAId == other.UserAId &&
UserBId == other.UserBId;
}
}