using System.ComponentModel.DataAnnotations; namespace ApplicationHub.Data.InMemory.Authentication.Entities; public class UserDto { [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 List Groups { get; set; } = new(); }