Setup codebase
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
class InventoryItem
|
||||
{
|
||||
private:
|
||||
static int m_uid;
|
||||
std::string m_id;
|
||||
std::string m_partName;
|
||||
int m_quantity;
|
||||
double m_price;
|
||||
public:
|
||||
InventoryItem();
|
||||
InventoryItem(const std::string& partName, int quantity, double price);
|
||||
const std::string& getId() const;
|
||||
const std::string& getPartName() const;
|
||||
int getQuantity() const;
|
||||
double getPrice() const;
|
||||
void setId(const std::string& id);
|
||||
void setPartName(const std::string& partName);
|
||||
void setQuantity(int quantity);
|
||||
void setPrice(double price);
|
||||
};
|
||||
Reference in New Issue
Block a user