using System.ComponentModel.DataAnnotations;

namespace Predictalytics.Domain.Entities;

/// <summary>
/// Represents a heuristically derived strategy trait for a trader.
/// </summary>
public class TraderTrait
{
    public int Id { get; set; }

    public int TraderId { get; set; }

    [MaxLength(64)]
    public string Trait { get; set; } = string.Empty;

    public decimal Value { get; set; }

    public DateTime ComputedAt { get; set; } = DateTime.UtcNow;

    public virtual Trader Trader { get; set; } = null!;
}
