feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user