Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
/**
* Exercise object
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include "logger.h"
#include "main_handler.h"
#include <DDS/Core/function_reply_object.h>
namespace WarehouseGuez
{
class ObjectInjuryModel final
{
public:
explicit ObjectInjuryModel(MainHandler *mainHandler);
~ObjectInjuryModel() = default;
Core::FunctionReplyObject createObject(const Database::InjuryModelAgdusWh &data);
Core::FunctionReplyObject updateObject(const Database::InjuryModelAgdusWh &data);
Core::FunctionReplyObject removeObject();
int getId() const { return m_data.id; }
Database::InjuryModelAgdusWh getData() const { return m_data; }
protected:
void onPublishData();
private:
MainHandler *m_mainHandler;
Database::InjuryModelAgdusWh m_data;
NGL::INGLLogger &m_logger;
};
}