feat(Core): update DTOs and shared models

This commit is contained in:
2026-08-09 21:01:38 +02:00
parent 6337e63a77
commit 5475c3ac51
58 changed files with 3418 additions and 30 deletions
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace FinlyticCore.Dtos.News;
/// <summary>
/// Represents a news article discovered by a feed/page scanner, carrying parsed metadata such as title, summary, publication date, language, and associated ISINs.
/// </summary>
public record DiscoveredArticle(
[property: JsonPropertyName("url")]
string Url,
[property: JsonPropertyName("isins")]
List<string>? Isins = null,
[property: JsonPropertyName("title")]
string? Title = null,
[property: JsonPropertyName("summary")]
string? Summary = null,
[property: JsonPropertyName("publishedAt")]
DateTime? PublishedAt = null,
[property: JsonPropertyName("language")]
string? Language = null,
[property: JsonPropertyName("sourceName")]
string? SourceName = null
);