symfony-playground/src/Entity/MerParaSub.php

28 lines
463 B
PHP
Raw Normal View History

2022-05-23 13:22:36 +00:00
<?php
namespace App\Entity;
use App\Repository\MerParaSubRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MerParaSubRepository::class)]
class MerParaSub
{
2022-05-23 18:40:22 +00:00
use MerSubBaseTrait;
2022-05-23 13:22:36 +00:00
2022-05-23 15:21:21 +00:00
#[ORM\Column(type: 'integer', nullable: true)]
private $pin;
2022-05-23 13:22:36 +00:00
2022-05-23 15:21:21 +00:00
public function getPin(): ?int
2022-05-23 13:22:36 +00:00
{
2022-05-23 15:21:21 +00:00
return $this->pin;
2022-05-23 13:22:36 +00:00
}
2022-05-23 15:21:21 +00:00
public function setPin(?int $pin): self
2022-05-23 13:22:36 +00:00
{
2022-05-23 15:21:21 +00:00
$this->pin = $pin;
2022-05-23 13:22:36 +00:00
return $this;
}
}