feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using FinlyticCore.Models.Trades;
|
||||
|
||||
namespace FinlyticCore.Models.Analyzer;
|
||||
|
||||
/// <summary>
|
||||
/// Response payload for manual AI analysis trigger RPC.
|
||||
/// </summary>
|
||||
public class ManualAnalysisResponseDto
|
||||
{
|
||||
[JsonPropertyName("analysisId")]
|
||||
public string AnalysisId { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("isTradeProposed")]
|
||||
public bool IsTradeProposed { get; set; }
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public string Status { get; set; } = "Success";
|
||||
|
||||
[JsonPropertyName("recommendation")]
|
||||
public string Recommendation { get; set; } = "RECOMMENDED";
|
||||
|
||||
[JsonPropertyName("n8nResponse")]
|
||||
public N8nAnalysisResponseDto? N8nResponse { get; set; }
|
||||
|
||||
[JsonPropertyName("proposal")]
|
||||
public TradeProposalDto? Proposal { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user