platform dupped

This commit is contained in:
2022-05-25 12:05:39 +02:00
parent 258c79b954
commit 2a5ee7b16b
9 changed files with 58 additions and 25 deletions

View File

@ -27,9 +27,6 @@ abstract class MerService
#[ORM\Column(type: 'json', nullable: true)]
private $metadata = [];
#[ORM\OneToOne(targetEntity: Platform::class, cascade: ['persist'], mappedBy: 'ott')]
private Platform $platform;
public function getId(): ?int
{
return $this->id;
@ -58,16 +55,4 @@ abstract class MerService
return $this;
}
public function getPlatform(): ?Platform
{
return $this->platform;
}
public function setPlatform(?Platform $platform): self
{
$this->platform = $platform;
return $this;
}
}