aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data.Models/Friendship.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-04-07 19:56:55 +0300
committertranstrike <transtrike@gmail.com>2021-04-07 19:56:55 +0300
commit5595bf9abe7b3d495f36ef39cfa5236dbde86039 (patch)
treee0663d2ece9f8124ff58de7a565944092f67003a /src/Data/DevHive.Data.Models/Friendship.cs
parent43336a1e977f33ad49ad8b4851ca449936f93ce6 (diff)
downloadDevHive-5595bf9abe7b3d495f36ef39cfa5236dbde86039.tar
DevHive-5595bf9abe7b3d495f36ef39cfa5236dbde86039.tar.gz
DevHive-5595bf9abe7b3d495f36ef39cfa5236dbde86039.zip
Added adding & removing friends funtionality & endpoints for them
Diffstat (limited to 'src/Data/DevHive.Data.Models/Friendship.cs')
-rw-r--r--src/Data/DevHive.Data.Models/Friendship.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Data/DevHive.Data.Models/Friendship.cs b/src/Data/DevHive.Data.Models/Friendship.cs
deleted file mode 100644
index 91ac9c7..0000000
--- a/src/Data/DevHive.Data.Models/Friendship.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.ComponentModel.DataAnnotations.Schema;
-
-namespace DevHive.Data.Models
-{
- //class for handling the many to many relationship betwen users and users for friends
- public class Friendship
- {
- [NotMapped]
- public Guid BaseUserId { get; set; }
- [NotMapped]
- public Guid FriendUserId { get; set; }
-
- public User BaseUser { get; set; }
- public User FriendUser { get; set; }
- }
-}