diff options
Diffstat (limited to 'src/DevHive.Data/Models/User.cs')
| -rw-r--r-- | src/DevHive.Data/Models/User.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DevHive.Data/Models/User.cs b/src/DevHive.Data/Models/User.cs index a3731cb..ecd7af8 100644 --- a/src/DevHive.Data/Models/User.cs +++ b/src/DevHive.Data/Models/User.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.AspNetCore.Identity; @@ -19,7 +20,7 @@ namespace DevHive.Data.Models public string ProfilePicture { get; set; } - public string Role { get; set; } + public virtual List<Role> Roles { get; set; } //public List<User> Friends { get; set; } } |
