mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 21:50:12 +01:00
22 lines
823 B
C#
22 lines
823 B
C#
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<VolunteerSkill> VolunteerSkills { get; set; } = new List<VolunteerSkill>();
|
|
public ICollection<EventRegistration> EventRegistrations { get; set; } = new List<EventRegistration>();
|
|
public ICollection<Token> Tokens { get; set; } = new List<Token>();
|
|
}
|
|
}
|