aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models/ProfilePicture.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-02-03 10:22:37 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-02-03 10:22:37 +0200
commit01ad75fa5a871a0c9f8cd0c5291312286ae4d52d (patch)
tree4f6b2eaef0424ffbfdd405939fbaa9325cc9d2c8 /src/DevHive.Data/Models/ProfilePicture.cs
parent81b3fc43a900857443c3c763f52e0a54719c2fae (diff)
downloadDevHive-01ad75fa5a871a0c9f8cd0c5291312286ae4d52d.tar
DevHive-01ad75fa5a871a0c9f8cd0c5291312286ae4d52d.tar.gz
DevHive-01ad75fa5a871a0c9f8cd0c5291312286ae4d52d.zip
Implemented profile picture table functionality; added models and interfaces for profile picture; added ability for user layers to update the profile picture; added migrations; updated mappings
Diffstat (limited to 'src/DevHive.Data/Models/ProfilePicture.cs')
-rw-r--r--src/DevHive.Data/Models/ProfilePicture.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/DevHive.Data/Models/ProfilePicture.cs b/src/DevHive.Data/Models/ProfilePicture.cs
new file mode 100644
index 0000000..e2ef04b
--- /dev/null
+++ b/src/DevHive.Data/Models/ProfilePicture.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace DevHive.Data.Models
+{
+ public class ProfilePicture
+ {
+ public Guid Id { get; set; }
+
+ public Guid UserId { get; set; }
+ public User User { get; set; }
+
+ public string PictureURL { get; set; }
+ }
+}