feat: add UnderlyingChartData model
This commit is contained in:
25
CertReports.Syncfusion/Models/UnderlyingChartModels.cs
Normal file
25
CertReports.Syncfusion/Models/UnderlyingChartModels.cs
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user