26 lines
780 B
C#
26 lines
780 B
C#
using System;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace FinlyticCore.Dtos.Fundamentals;
|
|
|
|
/// <summary>
|
|
/// DTO representing a scheduled corporate event (e.g. Earnings, Ex-Dividend, Dividend Payout).
|
|
/// </summary>
|
|
public record CorporateEventDto
|
|
{
|
|
[JsonPropertyName("isin")]
|
|
public string Isin { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("ticker")]
|
|
public string Ticker { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("companyName")]
|
|
public string CompanyName { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("eventType")]
|
|
public string EventType { get; init; } = string.Empty; // "Quartalsergebnis", "Ex-Dividendentag", "Dividenden-Zahltag"
|
|
|
|
[JsonPropertyName("date")]
|
|
public DateTime Date { get; init; }
|
|
}
|