Added RoomCategory BedType support in AdminPanel

This commit is contained in:
2024-09-10 18:09:00 +02:00
parent 975d0495a8
commit 048681e8ad
9 changed files with 255 additions and 18 deletions
+5
View File
@@ -3,6 +3,7 @@
namespace App\Entity;
use App\Repository\BedTypeRepository;
use Symfony\Component\Serializer\Annotation\Ignore;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: BedTypeRepository::class)]
@@ -47,4 +48,8 @@ class BedType
return $this;
}
public function __toString(): string {
return $this->getName();
}
}