feat: add UnderlyingChartData model

This commit is contained in:
2026-07-21 10:31:57 +02:00
parent fdbf16ad0b
commit 57f09cec62

View File

@@ -0,0 +1,25 @@
namespace CertReports.Syncfusion.Models;
/// <summary>
/// Singolo punto prezzo per il grafico standalone sottostante
/// (da SP cedlab_Chart_UnderlyingOnly).
/// </summary>
public class UnderlyingChartPoint
{
public DateTime Date { get; set; }
public decimal Px { get; set; }
}
/// <summary>
/// Dati completi per il grafico standalone di un sottostante,
/// senza alcun contesto certificato.
/// </summary>
public class UnderlyingChartData
{
public int IDUnderlyings { get; set; }
/// <summary>Titolo del grafico: "{Name} ({Ticker_bbg})".</summary>
public string Nome { get; set; } = string.Empty;
public List<UnderlyingChartPoint> Points { get; set; } = new();
}