23 lines
619 B
C#
23 lines
619 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace FinlyticCore.Dtos.News;
|
|
|
|
/// <summary>
|
|
/// Data transfer object representing a financial asset matched inside an article.
|
|
/// </summary>
|
|
public record MatchedAssetDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the name of the matched asset.
|
|
/// </summary>
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ISIN (International Securities Identification Number) of the matched asset.
|
|
/// </summary>
|
|
[JsonPropertyName("isin")]
|
|
public string Isin { get; init; } = string.Empty;
|
|
}
|
|
|