<?phpnamespace App\Entity;use App\Repository\ExternalCompanyRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ExternalCompanyRepository::class) */class ExternalCompany extends Company{ /** * @ORM\Column(type="string", length=255, nullable=true) */ protected $code; public function getCode(): ?string { return $this->code; } public function setCode(?string $code): self { $this->code = $code; return $this; }}