<?php
namespace App\Entity;
use App\Repository\FaxRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FaxRepository::class)]
class Fax
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $numero = null;
#[ORM\ManyToOne(inversedBy: 'faxes')]
#[ORM\JoinColumn(nullable: false)]
private ?InformationEntreprise $information_entreprise = null;
public function getId(): ?int
{
return $this->id;
}
public function getNumero(): ?string
{
return $this->numero;
}
public function setNumero(string $numero): self
{
$this->numero = $numero;
return $this;
}
public function getInformationEntreprise(): ?InformationEntreprise
{
return $this->information_entreprise;
}
public function setInformationEntreprise(?InformationEntreprise $information_entreprise): self
{
$this->information_entreprise = $information_entreprise;
return $this;
}
}