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
+20
View File
@@ -0,0 +1,20 @@
using System.Text.Json.Serialization;
namespace FinlyticCore.Dtos.News;
/// <summary>
/// Request payload sent by downstream services (e.g., FinlyticSentiment) to update the processing status of a news article.
/// </summary>
public record UpdateNewsStatusRequest(
[property: JsonPropertyName("id")] Guid Id,
[property: JsonPropertyName("status")] string Status
);
/// <summary>
/// Response payload returned to verify the success of the status update operation.
/// </summary>
public record UpdateNewsStatusResponse(
[property: JsonPropertyName("success")] bool Success,
[property: JsonPropertyName("message")] string? Message = null
);