diff --git a/src/Entity/Assignment.php b/src/Entity/Assignment.php index a1718be..9246fb4 100644 --- a/src/Entity/Assignment.php +++ b/src/Entity/Assignment.php @@ -4,7 +4,7 @@ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: AssignmentRepository::class)] #[ORM\UniqueConstraint( columns: ['employee', 'ride'] )] diff --git a/src/Entity/Category.php b/src/Entity/Category.php index 1909e55..0ea473e 100644 --- a/src/Entity/Category.php +++ b/src/Entity/Category.php @@ -6,7 +6,7 @@ namespace App\Entity; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: CategoryRepository::class)] class Category { #[ORM\Id] diff --git a/src/Entity/Employee.php b/src/Entity/Employee.php index a045a81..04cb90c 100644 --- a/src/Entity/Employee.php +++ b/src/Entity/Employee.php @@ -9,7 +9,7 @@ use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface; use Symfony\Component\Security\Core\User\UserInterface; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: EmployeeRepository::class)] #[ORM\UniqueConstraint(name: 'UNIQ_IDENTIFIER_EMAIL', fields: ['email'])] class Employee implements UserInterface, PasswordAuthenticatedUserInterface { diff --git a/src/Entity/EmployeeSkill.php b/src/Entity/EmployeeSkill.php index c86ddbb..6b15fe3 100644 --- a/src/Entity/EmployeeSkill.php +++ b/src/Entity/EmployeeSkill.php @@ -4,7 +4,7 @@ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: EmployeeSkillRepository::class)] #[ORM\UniqueConstraint( columns: ['employee', 'skill'] )] diff --git a/src/Entity/Incident.php b/src/Entity/Incident.php index 46cfc4a..ed291aa 100644 --- a/src/Entity/Incident.php +++ b/src/Entity/Incident.php @@ -5,7 +5,7 @@ namespace App\Entity; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: IncidentRepository::class)] class Incident { #[ORM\Id] diff --git a/src/Entity/IncidentType.php b/src/Entity/IncidentType.php index be9d6ed..82f8505 100644 --- a/src/Entity/IncidentType.php +++ b/src/Entity/IncidentType.php @@ -6,7 +6,7 @@ namespace App\Entity; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: IncidentTypeRepository::class)] class IncidentType { #[ORM\Id] diff --git a/src/Entity/Mission.php b/src/Entity/Mission.php index bff89c8..f0266e0 100644 --- a/src/Entity/Mission.php +++ b/src/Entity/Mission.php @@ -6,7 +6,7 @@ namespace App\Entity; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: MissionRepository::class)] class Mission { #[ORM\Id] diff --git a/src/Entity/MissionCategory.php b/src/Entity/MissionCategory.php index ea5680d..3081dc2 100644 --- a/src/Entity/MissionCategory.php +++ b/src/Entity/MissionCategory.php @@ -5,7 +5,7 @@ namespace App\Entity; use App\Repository\MissionCategoryRepository; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: MissionCategoryRepository::class)] #[ORM\UniqueConstraint(columns: ['mission', 'category'])] class MissionCategory { diff --git a/src/Entity/Representation.php b/src/Entity/Representation.php index a7d4670..9b7e1b3 100644 --- a/src/Entity/Representation.php +++ b/src/Entity/Representation.php @@ -4,7 +4,7 @@ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: RepresentationRepository::class)] #[ORM\UniqueConstraint( columns: ['employee', 'ride'] )] diff --git a/src/Entity/Requirement.php b/src/Entity/Requirement.php index 1bf1df7..887a29d 100644 --- a/src/Entity/Requirement.php +++ b/src/Entity/Requirement.php @@ -5,7 +5,7 @@ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: RequirementRepository::class)] #[ORM\UniqueConstraint( columns: ['mission', 'skill'] )] diff --git a/src/Entity/Ride.php b/src/Entity/Ride.php index 0461a95..e861e0c 100644 --- a/src/Entity/Ride.php +++ b/src/Entity/Ride.php @@ -5,7 +5,7 @@ namespace App\Entity; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: RideRepository::class)] class Ride { #[ORM\Id] diff --git a/src/Entity/Skill.php b/src/Entity/Skill.php index fc02dbc..30d36de 100644 --- a/src/Entity/Skill.php +++ b/src/Entity/Skill.php @@ -5,7 +5,7 @@ namespace App\Entity; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; -#[ORM\Entity] +#[ORM\Entity(repositoryClass: SkillRepository::class)] class Skill { #[ORM\Id]