From 57f09cec6215099ec533f66ae79056330c8b1a23 Mon Sep 17 00:00:00 2001 From: SmartRootsSrl Date: Tue, 21 Jul 2026 10:31:57 +0200 Subject: [PATCH] feat: add UnderlyingChartData model --- .../Models/UnderlyingChartModels.cs | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 CertReports.Syncfusion/Models/UnderlyingChartModels.cs diff --git a/CertReports.Syncfusion/Models/UnderlyingChartModels.cs b/CertReports.Syncfusion/Models/UnderlyingChartModels.cs new file mode 100644 index 0000000..b9ae2e4 --- /dev/null +++ b/CertReports.Syncfusion/Models/UnderlyingChartModels.cs @@ -0,0 +1,25 @@ +namespace CertReports.Syncfusion.Models; + +/// +/// Singolo punto prezzo per il grafico standalone sottostante +/// (da SP cedlab_Chart_UnderlyingOnly). +/// +public class UnderlyingChartPoint +{ + public DateTime Date { get; set; } + public decimal Px { get; set; } +} + +/// +/// Dati completi per il grafico standalone di un sottostante, +/// senza alcun contesto certificato. +/// +public class UnderlyingChartData +{ + public int IDUnderlyings { get; set; } + + /// Titolo del grafico: "{Name} ({Ticker_bbg})". + public string Nome { get; set; } = string.Empty; + + public List Points { get; set; } = new(); +}