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/Technology.cs1
-rw-r--r--src/DevHive.Data/Models/User.cs12
2 files changed, 11 insertions, 2 deletions
diff --git a/src/DevHive.Data/Models/Technology.cs b/src/DevHive.Data/Models/Technology.cs
index 2e0aeed..a462d20 100644
--- a/src/DevHive.Data/Models/Technology.cs
+++ b/src/DevHive.Data/Models/Technology.cs
@@ -5,7 +5,6 @@ namespace DevHive.Data.Models
public class Technology : IModel
{
public Guid Id { get; set; }
-
public string Name { get; set; }
}
}
diff --git a/src/DevHive.Data/Models/User.cs b/src/DevHive.Data/Models/User.cs
index eef0af2..fda4651 100644
--- a/src/DevHive.Data/Models/User.cs
+++ b/src/DevHive.Data/Models/User.cs
@@ -12,7 +12,17 @@ namespace DevHive.Data.Models
public string LastName { get; set; }
- public string ProfilePicture { get; set; }
+ public string ProfilePictureUrl { get; set; }
+
+ /// <summary>
+ /// Languages that the user uses or is familiar with
+ /// </summary>
+ public IList<Language> Langauges { get; set; }
+
+ /// <summary>
+ /// Technologies that the user uses or is familiar with
+ /// </summary>
+ public IList<Technology> Technologies { get; set; }
public virtual IList<Role> Roles { get; set; } = new List<Role>();