Update DBPlan.hpp
This commit is contained in:
@@ -21,16 +21,23 @@ private:
|
|||||||
void deleteVeranstaltungForeign(std::string id);
|
void deleteVeranstaltungForeign(std::string id);
|
||||||
void updateStandort(std::string tag, std::string stunde);
|
void updateStandort(std::string tag, std::string stunde);
|
||||||
void incarbeitszeit(std::string tag, std::string stunde, std::string amount);
|
void incarbeitszeit(std::string tag, std::string stunde, std::string amount);
|
||||||
|
void versendeEmails();
|
||||||
public:
|
public:
|
||||||
DBPlan(std::string connStr);
|
DBPlan(std::string connStr);
|
||||||
|
|
||||||
|
//deletes prof from plan and searches new one
|
||||||
void meldeKrank(std::string id, std::string tag, std::string stunde);
|
void meldeKrank(std::string id, std::string tag, std::string stunde);
|
||||||
|
//currently directly used after meldeKrank, so Mitarbeiter is only sick for specific hour
|
||||||
void meldeGesund(std::string id);
|
void meldeGesund(std::string id);
|
||||||
|
|
||||||
|
//Deletes Veranstaltung from relation Veranstaltung and from Einsatzplan
|
||||||
void deleteVeranstaltung(std::string id);
|
void deleteVeranstaltung(std::string id);
|
||||||
|
//Adds Veranstaltung to relation Veranstaltung
|
||||||
void hinzufuegenVeranstaltung(std::string name, std::string dauer, std::string ort, std::string raum);
|
void hinzufuegenVeranstaltung(std::string name, std::string dauer, std::string ort, std::string raum);
|
||||||
|
|
||||||
|
//Deletes Veranstlater from relattion Veranstalter and from Einsatzplan
|
||||||
void deleteVeranstalter(std::string id);
|
void deleteVeranstalter(std::string id);
|
||||||
|
//Add Veranstalter to relation Veranstalter
|
||||||
void hinzufuegenVeranstalter(std::string email, std::string name, std::string pw, std::string admin);
|
void hinzufuegenVeranstalter(std::string email, std::string name, std::string pw, std::string admin);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user