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 Groups { get; set; } = new List(); }