using System.ComponentModel.DataAnnotations; namespace ApplicationHub.Data.EF.Authentication.Entities; public class UserEntity { public Guid Id { get; set; } [MaxLength(255)] public required string UserName { get; set; } [MaxLength(255)] public required string Email { get; set; } [MaxLength(255)] public string? PasswordHash { get; set; } public bool Active { get; set; } public List? Groups { get; set; } }