// // Created by quentin on 1/17/23. // #ifndef BUDGET_PAYMENTOPERATION_H #define BUDGET_PAYMENTOPERATION_H #include #include #include "operation.h" namespace Budget::OptHandlers { class PaymentOperation : public Operation{ public: void commit() override; explicit PaymentOperation(); struct Flags : public Operation::Flags { long double value; std::string description; std::string receipt; long long date = std::time(nullptr); }; Flags flags; }; } #endif //BUDGET_PAYMENTOPERATION_H