symfony-playground/src/Entity/MerBeSub.php

28 lines
437 B
PHP

<?php
namespace App\Entity;
use App\Repository\MerParaSubRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
class MerBeSub
{
use MerSubBaseTrait;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $code;
public function getCode(): ?int
{
return $this->code;
}
public function setCode(?string $code): self
{
$this->code = $code;
return $this;
}
}