-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpersonal.h
90 lines (72 loc) · 2.36 KB
/
cpersonal.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
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
/****************************************************************************************
*
* This file is part of the MEGA-Series Project.
* Copyright (C) 2014 Joerg Pauly
* Created 01.04.2014 by Joerg Pauly
* All Rights reserved
*
* Alle Programme der MEGA-Serie sind Freie Software: Sie können sie unter den Bedingungen
* der GNU Lesser General Public License, wie von der Free Software Foundation,
* Version 3 der Lizenz oder (nach Ihrer Option) jeder späteren
* veröffentlichten Version, weiterverbreiten und/oder modifizieren.
*
* Dieses Programm wird in der Hoffnung, dass es nützlich sein wird, aber
* OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite
* Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
* Siehe die GNU Lesser General Public License für weitere Details.
*
* Sie sollten eine Kopie der GNU Lesser General Public License zusammen mit diesem
* Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
*
*****************************************************************************************/
#ifndef CPERSONAL_H
#define CPERSONAL_H
#include <QString>
#include <QDate>
#include <QSqlQuery>
#include <QSqlRecord>
#include <QVariant>
class CPersonal
{
public:
CPersonal(int pID);
CPersonal();
QString Name() const;
void setName(const QString &Name);
QString VName() const;
void setVName(const QString &VName);
QString PersNo() const;
void setPersNo(const QString &PersNo);
QTime SollTag() const;
void setSollTag(const QTime &SollTag);
QDate GebDat() const;
void setGebDat(const QDate &GebDat);
int id() const;
void setId(int id);
QDate Eintritt() const;
void setEintritt(const QDate &Eintritt);
QDate Austritt() const;
void setAustritt(const QDate &Austritt);
bool Edit() const;
void setEdit(const bool pEd);
bool Admin() const;
void setAdmin(const bool pAd);
QDate BreakDate() const;
void setBreakDate(const QDate &BreakDate);
double BDdiff() const;
void setBDdiff(const double BDdiff);
private:
int m_id;
QString m_Name;
QString m_VName;
QString m_PersNo;
QDate m_GebDat;
QTime m_SollTag;
QDate m_Eintritt;
QDate m_Austritt;
bool m_Edit;
bool m_Admin;
QDate m_BreakDate;
double m_BDdiff;
};
#endif // CPERSONAL_H