From 083a4fc17eda77bdda843b78bf00a4c3ea875120 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Thu, 5 Dec 2024 12:26:37 +0100 Subject: [PATCH] Move Project to own entity namespace --- src/Entity/Accounting/Accounting.php | 2 +- src/Entity/{ => Project}/Project.php | 5 ++- src/Entity/Project/ProjectStatus.php | 44 +++++++++++++++++++ src/Entity/ProjectStatus.php | 14 ------ src/Entity/User.php | 1 + .../{ => Project}/ProjectRepository.php | 4 +- 6 files changed, 51 insertions(+), 19 deletions(-) rename src/Entity/{ => Project}/Project.php (97%) create mode 100644 src/Entity/Project/ProjectStatus.php delete mode 100644 src/Entity/ProjectStatus.php rename src/Repository/{ => Project}/ProjectRepository.php (96%) diff --git a/src/Entity/Accounting/Accounting.php b/src/Entity/Accounting/Accounting.php index 1695bf7..f19e377 100644 --- a/src/Entity/Accounting/Accounting.php +++ b/src/Entity/Accounting/Accounting.php @@ -3,7 +3,7 @@ namespace App\Entity\Accounting; use App\Entity\Interface\AccountingOwnerInterface; -use App\Entity\Project; +use App\Entity\Project\Project; use App\Entity\Tipjar; use App\Entity\User; use App\Repository\Accounting\AccountingRepository; diff --git a/src/Entity/Project.php b/src/Entity/Project/Project.php similarity index 97% rename from src/Entity/Project.php rename to src/Entity/Project/Project.php index 1609ad3..c3164f9 100644 --- a/src/Entity/Project.php +++ b/src/Entity/Project/Project.php @@ -1,6 +1,6 @@