Fixed duplicated fields on /api/booking/details and removed unnecesary ignore attributes.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user