2025-08-09 13:37:34 +02:00

14 lines
430 B
C#

using System.ComponentModel.DataAnnotations;
namespace ApplicationHub.Domain.Contracts.Authentication.Models;
public class User
{
[Key]
public Guid Id { get; set; }
public string UserName { get; set; } = "";
public string Email { get; set; } = "";
public string PasswordHash { get; set; } = "";
public bool Active { get; set; }
public IEnumerable<Group> Groups { get; set; } = new List<Group>();
}