src/Entity/ExternalClient.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ExternalClientRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ExternalClientRepository::class)
  7.  */
  8. class ExternalClient extends Client
  9. {
  10.     /**
  11.      * @ORM\Column(type="string", length=255, nullable=true)
  12.      */
  13.     private $code;
  14.     public function getCode(): ?string
  15.     {
  16.         return $this->code;
  17.     }
  18.     public function setCode(?string $code): self
  19.     {
  20.         $this->code $code;
  21.         return $this;
  22.     }
  23. }