aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Models')
-rw-r--r--src/DevHive.Data/Models/User.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/DevHive.Data/Models/User.cs b/src/DevHive.Data/Models/User.cs
index 44f3612..1c365e4 100644
--- a/src/DevHive.Data/Models/User.cs
+++ b/src/DevHive.Data/Models/User.cs
@@ -22,10 +22,12 @@ namespace DevHive.Data.Models
public HashSet<Role> Roles { get; set; } = new();
- public HashSet<UserFriends> Friends { get; set; } = new();
-
public HashSet<Post> Posts { get; set; } = new();
+ public HashSet<UserFriend> MyFriends { get; set; } = new();
+
+ public HashSet<UserFriend> FriendsOf { get; set; } = new();
+
public HashSet<Comment> Comments { get; set; } = new();
// public HashSet<RatedPost> RatedPosts { get; set; } = new();