25 lines
695 B
C#
25 lines
695 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace FinlyticCore.Dtos.Fundamentals;
|
|
|
|
/// <summary>
|
|
/// Enthält die Stammdaten eines Unternehmens/Assets.
|
|
/// </summary>
|
|
[Serializable]
|
|
public record AssetHeaderDto
|
|
{
|
|
[JsonPropertyName("isin")]
|
|
public string Isin { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("description")]
|
|
public string Description { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("primaryTicker")]
|
|
public TickerInfoDto PrimaryTicker { get; init; }
|
|
|
|
[JsonPropertyName("availableTickers")]
|
|
public List<TickerInfoDto> AvailableTickers { get; init; } = [];
|
|
} |