Projekt

Allgemein

Profil

Herunterladen als
Herunterladen (871 Bytes) Statistiken
| Zweig: | Revision:
b7446f4c Christian Ehringfeld
#ifndef PUPIL_H
#define PUPIL_H
#include "person.h"

class Pupil : public Person {
Q_OBJECT
abb9e8c5 Christian Ehringfeld
Q_PROPERTY(QString legalGuardianNote READ getLegalGuardianNote WRITE
setLegalGuardianNote)
b7446f4c Christian Ehringfeld
public:
Q_INVOKABLE Pupil();
5c3d9487 Christian Ehringfeld
Pupil(QString firstName, QString familyName,
Gender gender = Gender::UNKNOWNGENDER,
b7446f4c Christian Ehringfeld
QString customPictureFileName = QString(), QString namePrefix = QString(),
da565582 Christian Ehringfeld
QString nickName = QString(), QDate birthday = QDate(), QString legalGuardianNote = "", QObject *parent = 0);
b7446f4c Christian Ehringfeld
abb9e8c5 Christian Ehringfeld
QString getLegalGuardianNote() const;
void setLegalGuardianNote(const QString &value);
f9cef58f Christian Ehringfeld
virtual const QHash<QString, CuteEntityManager::Relation> getRelations() const override;
abb9e8c5 Christian Ehringfeld
5c3d9487 Christian Ehringfeld
QString getForm() const;
void setForm(const QString &value);

b7446f4c Christian Ehringfeld
protected:
abb9e8c5 Christian Ehringfeld
QString legalGuardianNote;
b7446f4c Christian Ehringfeld
};

#endif // PUPIL_H