-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpositions.h
55 lines (42 loc) · 1.22 KB
/
positions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef POSITIONS_H
#define POSITIONS_H
#include "articles.h"
#include <QString>
class Positions
{
public:
Positions();
// Positions(int pos, int rgnr, int artnr, int menge, double total);
Positions(int pos, int rgnr, int artnr, QString beschreibung, QString einheit, int menge, double price, double total);
Positions(int pos, int artnr, QString name, int menge, QString unit, double price, double total, QString description);
~Positions();
int getRgnr() const;
void setRgnr(int value);
int getMenge() const;
void setMenge(int value);
double getTotal() const;
void setTotal(double value);
int getArtnr() const;
void setArtnr(int value);
Articles getArticle() const;
void setArticle(const Articles &value);
int getPos() const;
void setPos(int value);
QString getBeschreibung() const;
void setBeschreibung(const QString &value);
QString getEinheit() const;
void setEinheit(const QString &value);
double getPrice() const;
void setPrice(double value);
private:
int pos;
int rgnr;
int artnr;
QString beschreibung;
QString einheit;
int menge;
double price;
double total;
Articles article;
};
#endif // POSITIONS_H