using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; 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 = ProfilePicture.DefaultURL }; 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(); } }