using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using DevHive.Data.Interfaces.Models; using Microsoft.AspNetCore.Identity; namespace DevHive.Data.Models { [Table("Users")] public class User : IdentityUser, IUser { public string FirstName { get; set; } public string LastName { get; set; } public string ProfilePictureUrl { get; set; } /// /// Languages that the user uses or is familiar with /// // [Unique] public HashSet Languages { get; set; } /// /// Technologies that the user uses or is familiar with /// public HashSet Technologies { get; set; } = new HashSet(); public HashSet Roles { get; set; } = new HashSet(); public HashSet Friends { get; set; } = new HashSet(); } }