namespace Predictalytics.Domain.Entities;

/// <summary>
/// A trader that has been added to the user's watchlist for prioritized tracking.
/// </summary>
public class WatchlistEntry
{
    public int Id { get; set; }

    /// <summary>Foreign key to the watched trader.</summary>
    public int TraderId { get; set; }

    /// <summary>User-defined label for this watchlist entry.</summary>
    public string Label { get; set; } = string.Empty;

    /// <summary>Optional notes about why this trader is watched.</summary>
    public string? Notes { get; set; }

    /// <summary>Whether to receive alerts for this trader's activity.</summary>
    public bool AlertsEnabled { get; set; } = true;

    /// <summary>When this entry was added to the watchlist.</summary>
    public DateTime AddedAt { get; set; } = DateTime.UtcNow;

    // Navigation
    public Trader Trader { get; set; } = null!;
}
