using UniVerse.Domain.Enums; namespace UniVerse.Domain.Entities; public class User { public int Id { get; set; } public string Email { get; set; } = string.Empty; public string? DisplayName { get; set; } public string? AvatarUrl { get; set; } public bool IsActive { get; set; } = true; public string? MicrosoftId { get; set; } public int Xp { get; set; } public int Coins { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; // Navigation properties public StudentProfile? StudentProfile { get; set; } public TeacherProfile? TeacherProfile { get; set; } public ICollection Roles { get; set; } = new List(); public ICollection Enrollments { get; set; } = new List(); public ICollection Reviews { get; set; } = new List(); public ICollection UserAchievements { get; set; } = new List(); public ICollection CoinTransactions { get; set; } = new List(); public ICollection Notifications { get; set; } = new List(); public ICollection RefreshTokens { get; set; } = new List(); }