From 340bab7c53caa5e620a6648a5686b644ae2b43e2 Mon Sep 17 00:00:00 2001 From: ASTIER Yann Date: Thu, 26 Sep 2024 15:36:56 +0200 Subject: [PATCH] first commit --- src/Controller/DashboardController.php | 18 ++++++++ src/Entity/Category.php | 1 + src/Entity/Employee.php | 57 +++++++++++++++++++++++++ src/Entity/Incident.php | 1 + src/Entity/IncidentType.php | 1 + src/Entity/Mission.php | 1 + src/Entity/Requirements.php | 21 +++++++++ src/Entity/Ride.php | 1 + src/Entity/Skill.php | 1 + templates/dashboard/dashboard.html.twig | 12 ++++++ 10 files changed, 114 insertions(+) create mode 100644 src/Controller/DashboardController.php create mode 100644 src/Entity/Category.php create mode 100644 src/Entity/Employee.php create mode 100644 src/Entity/Incident.php create mode 100644 src/Entity/IncidentType.php create mode 100644 src/Entity/Mission.php create mode 100644 src/Entity/Requirements.php create mode 100644 src/Entity/Ride.php create mode 100644 src/Entity/Skill.php create mode 100644 templates/dashboard/dashboard.html.twig diff --git a/src/Controller/DashboardController.php b/src/Controller/DashboardController.php new file mode 100644 index 0000000..44dfedc --- /dev/null +++ b/src/Controller/DashboardController.php @@ -0,0 +1,18 @@ +render('index/index.html.twig'); + } +} diff --git a/src/Entity/Category.php b/src/Entity/Category.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/Entity/Category.php @@ -0,0 +1 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + + return $this; + } + + public function getFirstName(): ?string + { + return $this->firstName; + } + + public function setFirstName(string $firstName): static + { + $this->firstName = $firstName; + + return $this; + } + + public function getLastName(): ?string + { + return $this->lastName; + } + + public function setLastName(string $lastName): static + { + $this->lastName = $lastName; + + return $this; + } +} diff --git a/src/Entity/Incident.php b/src/Entity/Incident.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/Entity/Incident.php @@ -0,0 +1 @@ +id; + } +} diff --git a/src/Entity/Ride.php b/src/Entity/Ride.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/Entity/Ride.php @@ -0,0 +1 @@ + +

Welcome, *Dashboard User* !

+ + This is a placeholder. + +{% endblock %}