marketplace added
This commit is contained in:
parent
f838977283
commit
e04a24f7a1
3 changed files with 31 additions and 0 deletions
21
src/core/marketplace.h
Normal file
21
src/core/marketplace.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#ifndef MARKETPLACE_H
|
||||
#define MARKETPLACE_H
|
||||
|
||||
#include "article.h"
|
||||
#include "sale.h"
|
||||
#include "seller.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class Marketplace
|
||||
{
|
||||
public:
|
||||
void storeToDb();
|
||||
void loadFromDb();
|
||||
private:
|
||||
std::vector<std::shared_ptr<Seller>> sellers_;
|
||||
//std::vector<std::shared_ptr<Article>> articles_;
|
||||
std::vector<std::shared_ptr<Sale>> sales_;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue