Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Models / User.cs
diff options
context:
space:
mode:
Commitf910a2a63cb83b35c6589591400a69c8f7f7917c (patch)
Author
 transtrike <transtrike@gmail.com>
2021-01-24 00:07:44 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-01-24 00:07:44 +0200
Files2e601172f734d53ab7a903426ea2d674b5048a76 /src/DevHive.Data/Models/User.cs
DevHive-f910a2a63cb83b35c6589591400a69c8f7f7917c.tar
DevHive-f910a2a63cb83b35c6589591400a69c8f7f7917c.tar.gz
DevHive-f910a2a63cb83b35c6589591400a69c8f7f7917c.zip
Parente01a81954e0fba2c4521e03a76f48a970a87994f (diff)
Migrations added; CRUD over Posts&Comments successfully completed
1 files changed, 4 insertions, 4 deletions
-rw-r--r--src/DevHive.Data/Models/User.cs8
diff --git a/src/DevHive.Data/Models/User.cs b/src/DevHive.Data/Models/User.cs
index 2ac7adf..df440d5 100644
--- a/src/DevHive.Data/Models/User.cs
+++ b/src/DevHive.Data/Models/User.cs
@@ -19,15 +19,15 @@ namespace DevHive.Data.Models
/// Languages that the user uses or is familiar with
/// </summary>
// [Unique]
- public HashSet<Language> Languages { get; set; }
+ public HashSet<Language> Languages { get; set; } = new();
/// <summary>
/// Technologies that the user uses or is familiar with
/// </summary>
- public HashSet<Technology> Technologies { get; set; } = new HashSet<Technology>();
+ public HashSet<Technology> Technologies { get; set; } = new();
- public HashSet<Role> Roles { get; set; } = new HashSet<Role>();
+ public HashSet<Role> Roles { get; set; } = new();
- public HashSet<User> Friends { get; set; } = new HashSet<User>();
+ public HashSet<User> Friends { get; set; } = new();
}
}