Updated include paths for consistent structure under the `db` directory. Added `AccountInfoScreener` for parsing card data using Tesseract OCR and enhanced related models. Removed unused code and simplified main workflow.
15 lines
300 B
C
15 lines
300 B
C
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
struct Card {
|
|
QString name;
|
|
QString description;
|
|
double amount;
|
|
|
|
[[nodiscard]] QString toString() const {
|
|
return QString("Number: %1 | Type: %2 | Amount: %3")
|
|
.arg(name, description, QString::number(amount, 'f', 2));
|
|
}
|
|
};
|