mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
CreateDatabase
Nic nie działa bo wszystko jest inne XDD
This commit is contained in:
15
WebApp/Entities/User.cs
Normal file
15
WebApp/Entities/User.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user