namespace FlowAPI.Domain.Entities { public class User { public Guid Id { get; set; } public string Email { get; set; } = string.Empty; public string PasswordHash { get; set; } = string.Empty; public string DisplayName { get; set; } = string.Empty; public bool IsPremium { get; set; } public string? AvatarUrl { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; // Subscription Tier info public string SubscriptionTier { get; set; } = "Free"; // "Free", "Pro", "Ultra" public int DailyAiGenerationsCount { get; set; } public DateTime LastAiGenerationDate { get; set; } = DateTime.UtcNow; // Navigation properties public ICollection Graphs { get; set; } = new List(); public ICollection HabitRecords { get; set; } = new List(); public ICollection UserAchievements { get; set; } = new List(); public ICollection SharedGraphs { get; set; } = new List(); } }