using System.Text.Json.Serialization;
namespace FinlyticCore.Dtos.News;
///
/// Request payload sent by downstream services (e.g., FinlyticSentiment) to update the processing status of a news article.
///
public record UpdateNewsStatusRequest(
[property: JsonPropertyName("id")] Guid Id,
[property: JsonPropertyName("status")] string Status
);
///
/// Response payload returned to verify the success of the status update operation.
///
public record UpdateNewsStatusResponse(
[property: JsonPropertyName("success")] bool Success,
[property: JsonPropertyName("message")] string? Message = null
);