mirror of
https://gitlab.aliens-lyon.fr/encartes/backend.git
synced 2026-09-12 01:00:47 +02:00
Merging Corridor and Room in Place
This commit is contained in:
@@ -18,8 +18,8 @@ class PolySurface
|
||||
#[ORM\OneToMany(targetEntity: PlaneSurface::class, mappedBy: "polySurface")]
|
||||
private $polysurfaceComponent;
|
||||
|
||||
#[ORM\ManyToOne(targetEntity: Corridor::class)]
|
||||
private $SurfaceRepresentation;
|
||||
#[ORM\ManyToOne(targetEntity: Place::class)]
|
||||
private $place;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
@@ -61,14 +61,14 @@ class PolySurface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSurfaceRepresentation(): ?Corridor
|
||||
public function getPlace(): ?Place
|
||||
{
|
||||
return $this->SurfaceRepresentation;
|
||||
return $this->place;
|
||||
}
|
||||
|
||||
public function setSurfaceRepresentation(?Corridor $SurfaceRepresentation): self
|
||||
public function setPlace(?Place $place): self
|
||||
{
|
||||
$this->SurfaceRepresentation = $SurfaceRepresentation;
|
||||
$this->place = $place;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user