28 lines
483 B
C++

//
// Created by Nik on 07/04/2022.
//
#ifndef PRIRAVA_1_INVOICE_H
#define PRIRAVA_1_INVOICE_H
#include "Article.h"
#include "WeighableArticle.h"
#include <vector>
#include <iostream>
class Invoice {
private:
std::string seller;
int id;
static int countId;
std::vector<Article*> articels;
public:
Invoice(std::string seller);
~Invoice();
void addArticle(Article* a);
void print() const;
};
#endif //PRIRAVA_1_INVOICE_H