using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using DevHive.Data.Models.Relational; using Microsoft.AspNetCore.Identity; namespace DevHive.Data.Models { [Table("Users")] public class User : IdentityUser { public string FirstName { get; set; } public string LastName { get; set; } public ProfilePicture ProfilePicture { get; set; } = new() { PictureURL = "/assets/images/feed/profile-pic.png" }; public HashSet Languages { get; set; } = new(); public HashSet Technologies { get; set; } = new(); public HashSet Roles { get; set; } = new(); public HashSet Posts { get; set; } = new(); public HashSet Friends { get; set; } = new(); public HashSet Comments { get; set; } = new(); } }