using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations; namespace WebApp.Entities { public class User //: IdentityUser { public int UserId { get; set; } public string? Email { get; set; } public string? Password { get; set; } public required string FirstName { get; set; } public required string LastName { get; set; } public bool IsOrganisation { get; set; } = false; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public ICollection VolunteerSkills { get; set; } = new List(); public ICollection EventRegistrations { get; set; } = new List(); public ICollection Tokens { get; set; } = new List(); } }