-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomers.cpp
204 lines (171 loc) · 3.45 KB
/
customers.cpp
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
#include "customers.h"
Customers::Customers()
{
this->firma = "";
this->name1 = "";
this->name2 = "";
this->strasse = "";
this->plz = 0;
this->ort = "";
this->land = "";
this->telefon = "";
this->telefax = "";
this->email = "";
this->website = "";
this->rabatt = 0;
this->kontostand = 0;
this->info = "";
}
Customers::Customers(const int &kdnr, const QString &firma,
const QString &name1,
const QString &name2,
const QString &strasse,
const int &plz,
const QString &ort, const QString &land,
const QString &telefon,
const QString &telefax,
const QString &email,
const QString &website,
const double &rabatt,
const double &kontostand,
const QString &info)
{
this->kdnr = kdnr;
this->firma = firma;
this->name1 = name1;
this->name2 = name2;
this->strasse = strasse;
this->plz = plz;
this->ort = ort;
this->land = land;
this->telefon = telefon;
this->telefax = telefax;
this->email = email;
this->website = website;
this->rabatt = rabatt;
this->kontostand = kontostand;
this->info = info;
}
Customers::~Customers()
{
}
QString Customers::getWebsite() const
{
return website;
}
void Customers::setWebsite(const QString &value)
{
website = value;
}
QString Customers::getFirma() const
{
return firma;
}
void Customers::setFirma(const QString &value)
{
firma = value;
}
QString Customers::getName1() const
{
return name1;
}
void Customers::setName1(const QString &value)
{
name1 = value;
}
QString Customers::getName2() const
{
return name2;
}
void Customers::setName2(const QString &value)
{
name2 = value;
}
QString Customers::getStrasse() const
{
return strasse;
}
void Customers::setStrasse(const QString &value)
{
strasse = value;
}
int Customers::getPlz() const
{
return plz;
}
void Customers::setPlz(int value)
{
plz = value;
}
QString Customers::getOrt() const
{
return ort;
}
void Customers::setOrt(const QString &value)
{
ort = value;
}
QString Customers::getTelefon() const
{
return telefon;
}
void Customers::setTelefon(const QString &value)
{
telefon = value;
}
QString Customers::getEmail() const
{
return email;
}
void Customers::setEmail(const QString &value)
{
email = value;
}
double Customers::getRabatt() const
{
return rabatt;
}
void Customers::setRabatt(const double &value)
{
rabatt = value;
}
double Customers::getKontostand() const
{
return kontostand;
}
void Customers::setKontostand(double value)
{
kontostand = value;
}
QString Customers::getLand() const
{
return land;
}
void Customers::setLand(const QString &value)
{
land = value;
}
QString Customers::getTelefax() const
{
return telefax;
}
void Customers::setTelefax(const QString &value)
{
telefax = value;
}
QString Customers::getInfo() const
{
return info;
}
void Customers::setInfo(const QString &value)
{
info = value;
}
int Customers::getKdnr() const
{
return kdnr;
}
void Customers::setKdnr(int value)
{
kdnr = value;
}