Add files via upload

This commit is contained in:
Chris-bot374
2024-06-30 20:30:54 +02:00
committed by GitHub
parent 5f4c6ba3b0
commit 5d161c7443
7 changed files with 235 additions and 0 deletions

28
DBHandler/DBPlan.hpp Normal file
View File

@@ -0,0 +1,28 @@
#ifndef _DBPLAN_HPP_
#define _DBPLAN_HPP_
#include "DBHandler.hpp"
#include <iostream>
#include <vector>
class DBPlan : public DBHandler {
public:
DBPlan(std::string connStr);
void meldeKrank(int id);
void meldeGesund(int id);
bool deleteVeranstaltung(int id);
bool hinzufuegenVeranstaltung(); //Zu Liste mit Veranstaltungen oder direkt in den Einsatzplan?
void deleteVeranstalter(int id);
bool hinzufuegenVeranstalter(std::string email, std::string name, std::string pw, bool admin);
std::vector < std::vector<std::string>> getVeranstalter();
bool deleteStudent(int id);
bool hinzufuegenStudent(std::string email, std::string name, std::string pw);
std::vector < std::vector<std::string>> getStudenten();
};
#endif