FOSSredder 0.5.0
Loading...
Searching...
No Matches
AnalysisResult.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <map>
9#include <string>
10#include <utility>
11#include <vector>
12
14
15namespace core::ports::analysis {
16
18 std::string id;
19 std::string name;
20 std::string bookingDate;
21 double amount = 0.0;
22 std::string contractId;
23 std::string contractType;
24 std::vector<std::string> propertyIds;
25 std::vector<std::string> propertyNames;
26};
27
29 std::string id;
30 std::string name;
31 std::string bookingDate;
32 std::string valuta;
33 double amount = 0.0;
34 std::string statementId;
35 std::string statementName;
36 std::string actorId;
37 std::string actorName;
38 std::string contractId;
39 std::string contractType;
40 std::string contractName;
41 std::vector<std::string> propertyIds;
42 std::vector<std::string> propertyNames;
43 bool allocatable = false;
44};
45
49 double amountSum = 0.0;
50};
51
53 std::vector<AnalysisPreviewTransaction> transactions;
55};
56
58 std::string type;
60 std::map<std::string, double> metrics;
61 std::vector<std::vector<std::string>> table;
62 std::vector<std::string> artifacts;
63 std::vector<AnalysisTransaction> transactions;
64 bool found = false;
65 std::string generatedAt;
66};
67
69 std::string propertyName;
70 std::vector<double> amounts;
71 double total = 0.0;
72};
73
75 std::vector<std::string> contractTypes;
76 std::vector<AnalysisTablePropertyRow> propertyRows;
77 double grandTotal = 0.0;
78};
79
83using AnalysisAdjustmentAmounts = std::vector<std::pair<std::string, double>>;
84
85} // namespace core::ports::analysis
Declares analysis use-case request DTOs and filter-spec helpers.
std::vector< std::pair< std::string, double > > AnalysisAdjustmentAmounts
Adjustment amount pairs keyed by transaction id.
std::vector< AnalysisPreviewTransaction > transactions
std::vector< std::string > artifacts
std::vector< AnalysisTransaction > transactions
std::vector< std::vector< std::string > > table
std::map< std::string, double > metrics
std::vector< std::string > contractTypes
std::vector< AnalysisTablePropertyRow > propertyRows
std::vector< std::string > propertyNames