Setup codebase

This commit is contained in:
Joel Thomas
2026-05-19 09:56:36 +05:30
parent f39f9d0e79
commit a7ad188801
59 changed files with 3840 additions and 0 deletions
@@ -0,0 +1,21 @@
#pragma once
#include <string>
#include "Map.h"
#include "NotificationManagementService.h"
#include "DataStore.h"
class InventoryItem;
class InventoryManagementService : public NotificationManagementService
{
private:
DataStore& m_dataStore;
public:
InventoryManagementService() : m_dataStore(DataStore::getInstance()) {}
util::Map<std::string, InventoryItem*> getInventoryItems();
InventoryItem* getInventoryItem(const std::string& inventoryItemID);
void addInventoryItem(const std::string& partName, int quantity, double price);
void removeInventoryItem(const std::string& inventoryItemID);
void sendLowStockAlerts();
void sendNotification(User* user, const std::string& title, const std::string& message);
};