src/Entity/EntreeStock.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EntreeStockRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassEntreeStockRepository::class)]
  7. class EntreeStock
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column]
  14.     private ?int $Quantite null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  16.     private ?\DateTimeInterface $dateArrive null;
  17.     #[ORM\ManyToOne(inversedBy'entreeStocks')]
  18.     private ?Produit $produit null;
  19.     #[ORM\ManyToOne(inversedBy'entreeStocks')]
  20.     private ?User $utilisateur null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  22.     private ?\DateTimeInterface $dateEntree null;
  23.     #[ORM\ManyToOne(inversedBy'entreeStocks')]
  24.     private ?Boutique $boutique null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $chauffeur null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $provenance null;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getQuantite(): ?int
  34.     {
  35.         return $this->Quantite;
  36.     }
  37.     public function setQuantite(int $Quantite): static
  38.     {
  39.         $this->Quantite $Quantite;
  40.         return $this;
  41.     }
  42.     public function getDateArrive(): ?\DateTimeInterface
  43.     {
  44.         return $this->dateArrive;
  45.     }
  46.     public function setDateArrive(\DateTimeInterface $dateArrive): static
  47.     {
  48.         $this->dateArrive $dateArrive;
  49.         return $this;
  50.     }
  51.     public function getProduit(): ?Produit
  52.     {
  53.         return $this->produit;
  54.     }
  55.     public function setProduit(?Produit $produit): static
  56.     {
  57.         $this->produit $produit;
  58.         return $this;
  59.     }
  60.     public function getUtilisateur(): ?User
  61.     {
  62.         return $this->utilisateur;
  63.     }
  64.     public function setUtilisateur(?User $utilisateur): static
  65.     {
  66.         $this->utilisateur $utilisateur;
  67.         return $this;
  68.     }
  69.     public function getDateEntree(): ?\DateTimeInterface
  70.     {
  71.         return $this->dateEntree;
  72.     }
  73.     public function setDateEntree(\DateTimeInterface $dateEntree): static
  74.     {
  75.         $this->dateEntree $dateEntree;
  76.         return $this;
  77.     }
  78.     public function getBoutique(): ?Boutique
  79.     {
  80.         return $this->boutique;
  81.     }
  82.     public function setBoutique(?Boutique $boutique): static
  83.     {
  84.         $this->boutique $boutique;
  85.         return $this;
  86.     }
  87.     public function getChauffeur(): ?string
  88.     {
  89.         return $this->chauffeur;
  90.     }
  91.     public function setChauffeur(?string $chauffeur): static
  92.     {
  93.         $this->chauffeur $chauffeur;
  94.         return $this;
  95.     }
  96.     public function getProvenance(): ?string
  97.     {
  98.         return $this->provenance;
  99.     }
  100.     public function setProvenance(?string $provenance): static
  101.     {
  102.         $this->provenance $provenance;
  103.         return $this;
  104.     }
  105. }