consolidate all repos to one for archive
This commit is contained in:
27
semester_2/programiranje_2/Prirava_1/Invoice.h
Normal file
27
semester_2/programiranje_2/Prirava_1/Invoice.h
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user