You've already forked symfony-playground
pin
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user