diff --git a/src/Entity/Building.php b/src/Entity/Building.php index 18082e5..39e8df1 100644 --- a/src/Entity/Building.php +++ b/src/Entity/Building.php @@ -36,7 +36,7 @@ class Building } public function getName(): string - { return $this->id; + { return $this->name; } public function setName(string $name): self { $this->name = $name; diff --git a/src/Entity/Floor.php b/src/Entity/Floor.php index 9474ef0..785304b 100644 --- a/src/Entity/Floor.php +++ b/src/Entity/Floor.php @@ -39,7 +39,7 @@ class Floor } public function getName(): string - { return $this->id; + { return $this->name; } public function setName(string $name): self { $this->name = $name; diff --git a/src/Entity/Site.php b/src/Entity/Site.php index 2faa798..c100150 100644 --- a/src/Entity/Site.php +++ b/src/Entity/Site.php @@ -37,7 +37,7 @@ class Site } public function getName(): string - { return $this->id; + { return $this->name; } public function setName(string $name): self { $this->name = $name;