#ifndef MACHINE_H #define MACHINE_H #include #include namespace TC { class MachineList : public QObject { Q_OBJECT public: MachineList(); MachineList(const QString &machineCode); std::optional get(); QString url; QByteArray sendData; }; class MachineInsert : public QObject { Q_OBJECT public: MachineInsert(); MachineInsert(const QString &machineCode); std::optional post(); QString url; QByteArray sendData; }; class MachineUpdate : public QObject { Q_OBJECT public: MachineUpdate(); MachineUpdate(const QString &uuid, const QString &userUuid, const QJsonObject &old); std::optional post(); QString url; QByteArray sendData; }; } // namespace TC #endif // MACHINE_H