Removed extra OneToMany relations in

This commit is contained in:
ASTIER Yann 2024-10-10 14:43:50 +02:00
parent cbce2ca3c6
commit 922834da8a
2 changed files with 0 additions and 6 deletions

View File

@ -17,9 +17,6 @@ class Category
#[ORM\Column(length: 30)]
private ?string $label = null;
#[ORM\ManyToOne(targetEntity: Mission::class, inversedBy: 'category')]
private ?Mission $mission = null;
#[ORM\ManyToOne(targetEntity: MissionCategory::class, inversedBy: 'category')]
private Collection $missionCategory;

View File

@ -23,9 +23,6 @@ class Mission
#[ORM\OneToMany(targetEntity: Employee::class, mappedBy: 'mission')]
private ?employee $employee = null;
#[ORM\OneToMany(targetEntity: Category::class, mappedBy: 'mission')]
private Collection $categories;
#[ORM\OneToMany(targetEntity: Ride::class, mappedBy: 'mission')]
private ?Ride $ride;