Update DBPlan.hpp
This commit is contained in:
@@ -7,21 +7,36 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class DBPlan : public DBHandler {
|
class DBPlan : public DBHandler {
|
||||||
|
private:
|
||||||
|
std::string getDauer(std::string tag, std::string stunde);
|
||||||
|
void addFirstOfDayTwo(std::string tag);
|
||||||
|
void addTwoHour(std::string tag, std::string stunde);
|
||||||
|
void addFirstOfDayFour(std::string tag);
|
||||||
|
void upperHour(std::string tag, std::string stunde);
|
||||||
|
void addFourHour(std::string tag, std::string stunde);
|
||||||
|
|
||||||
|
void updateStandort(std::string tag, std::string stunde);
|
||||||
public:
|
public:
|
||||||
DBPlan(std::string connStr);
|
DBPlan(std::string connStr);
|
||||||
void meldeKrank(int id);
|
void meldeKrank(std::string id, std::string zeit);
|
||||||
void meldeGesund(int id);
|
void meldeGesund(std::string id);
|
||||||
void deleteVeranstaltung(int id);
|
void deleteVeranstaltung(std::string id);
|
||||||
void hinzufuegenVeranstaltung(); //Zu Liste mit Veranstaltungen oder direkt in den Einsatzplan?
|
void hinzufuegenVeranstaltung(std::string name, std::string dauer, std::string ort, std::string raum);
|
||||||
|
|
||||||
|
|
||||||
void deleteVeranstalter(int id);
|
void deleteVeranstalter(std::string id);
|
||||||
void hinzufuegenVeranstalter(std::string email, std::string name, std::string pw, bool admin);
|
void hinzufuegenVeranstalter(std::string email, std::string name, std::string pw, std::string admin);
|
||||||
std::vector<std::string> getVeranstalter();
|
|
||||||
|
|
||||||
void deleteStudent(int id);
|
|
||||||
|
void deleteStudent(std::string id);
|
||||||
void hinzufuegenStudent(std::string email, std::string name, std::string pw);
|
void hinzufuegenStudent(std::string email, std::string name, std::string pw);
|
||||||
std::vector<std::string> getStudenten();
|
|
||||||
|
|
||||||
|
void createPlan();
|
||||||
|
void incarbeitszeit(std::string tag, std::string stunde, std::string amount);
|
||||||
|
|
||||||
|
|
||||||
|
void clear();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user