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

This commit is contained in:
2024-09-28 00:03:05 +02:00
parent bfcd04c701
commit 986f422824
8 changed files with 65 additions and 73 deletions
-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;