This commit is contained in:
2022-05-23 17:21:21 +02:00
parent 7f97b7c5a9
commit 84caa3a6ca
2 changed files with 27 additions and 18 deletions

View File

@ -13,8 +13,8 @@ class MerParaSub
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $redCode;
#[ORM\Column(type: 'integer', nullable: true)]
private $pin;
#[ORM\ManyToOne(targetEntity: MerService::class)]
#[ORM\JoinColumn(nullable: false)]
@ -31,14 +31,14 @@ class MerParaSub
return $this->id;
}
public function getRedCode(): ?string
public function getPin(): ?int
{
return $this->redCode;
return $this->pin;
}
public function setRedCode(?string $redCode): self
public function setPin(?int $pin): self
{
$this->redCode = $redCode;
$this->pin = $pin;
return $this;
}