Files
hermes/WebApp/Entities/User.cs
AleksDw b4b81355c1 CreateDatabase
Nic nie działa bo wszystko jest inne XDD
2025-04-27 00:40:34 +02:00

16 lines
570 B
C#

using Microsoft.AspNetCore.Identity;
namespace WebApp.Entities
{
public class User : IdentityUser
{
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<VolunteerSkill> VolunteerSkills { get; set; } = new List<VolunteerSkill>();
public ICollection<EventRegistration> EventRegistrations { get; set; } = new List<EventRegistration>();
}
}