<?phpnamespace App\Entity;use App\Repository\DepotRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=DepotRepository::class) */class Depot{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=10) */ private $quantite; /** * @ORM\Column(type="datetime") */ private $sortieAt; /** * @ORM\ManyToOne(targetEntity=Commande::class, inversedBy="depots") */ private $commande; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $remarque; /** * @ORM\ManyToOne(targetEntity=Utilisateur::class, inversedBy="depots") */ private $user; /** * @ORM\Column(type="string", length=255) */ private $noms; /** * @ORM\Column(type="string", length=255) */ private $telephone; /** * @ORM\Column(type="string", length=100, nullable=true) */ private $plaque; public function getId(): ?int { return $this->id; } public function getQuantite(): ?string { return $this->quantite; } public function setQuantite(string $quantite): self { $this->quantite = $quantite; return $this; } public function getSortieAt(): ?\DateTimeInterface { return $this->sortieAt; } public function setSortieAt(\DateTimeInterface $sortieAt): self { $this->sortieAt = $sortieAt; return $this; } public function getCommande(): ?Commande { return $this->commande; } public function setCommande(?Commande $commande): self { $this->commande = $commande; return $this; } public function getRemarque(): ?string { return $this->remarque; } public function setRemarque(?string $remarque): self { $this->remarque = $remarque; return $this; } public function getUser(): ?Utilisateur { return $this->user; } public function setUser(?Utilisateur $user): self { $this->user = $user; return $this; } public function getNoms(): ?string { return $this->noms; } public function setNoms(string $noms): self { $this->noms = $noms; return $this; } public function getTelephone(): ?string { return $this->telephone; } public function setTelephone(string $telephone): self { $this->telephone = $telephone; return $this; } public function getPlaque(): ?string { return $this->plaque; } public function setPlaque(?string $plaque): self { $this->plaque = $plaque; return $this; }}