20 lines
318 B
C
20 lines
318 B
C
|
#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<Sale>> sales_;
|
||
|
};
|
||
|
|
||
|
#endif
|