Fixed duplicated fields on /api/booking/details and removed unnecesary ignore attributes.

This commit is contained in:
Daniel-Garmig committed 2024-09-28 00:03:05 +02:00
1 parent bfcd04c701
commit 986f422824
8 files changed
+65 -73

No files matched your search

-3
View File
@@ -29,7 +29,6 @@ class RoomCategoryPhoto
#[Ignore]
private ?RoomCategory $roomCategory = null;
#[Ignore]
public function getId(): ?int
{
return $this->id;
@@ -71,13 +70,11 @@ class RoomCategoryPhoto
return $this;
}
#[Ignore]
public function getRoomCategory(): ?RoomCategory
{
return $this->roomCategory;
}
#[Ignore]
public function setRoomCategory(?RoomCategory $roomCategory): static
{
$this->roomCategory = $roomCategory;