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