diff --git a/tms/src/Entity/Librairie.php b/tms/src/Entity/Librairie.php new file mode 100644 index 0000000000000000000000000000000000000000..8772632985388d9e8ef1014a1627f98ed63c508b --- /dev/null +++ b/tms/src/Entity/Librairie.php @@ -0,0 +1,145 @@ +<?php + +namespace App\Entity; + +use Doctrine\ORM\Mapping as ORM; +use Doctrine\ORM\EntityRepository; + +/** + * Librairie + * + * @ORM\Table(name="librairie") + * @ORM\Entity + */ +class Librairie +{ + /** + * @var int + * + * @ORM\Column(name="LibrairieID", type="integer", nullable=false) + * @ORM\Id + * @ORM\GeneratedValue(strategy="IDENTITY") + */ + private $librairieid; + + /** + * @var string + * + * @ORM\Column(name="Nom", type="string", length=255, nullable=false) + */ + private $nom; + + /** + * @var string + * + * @ORM\Column(name="Type", type="string", length=255, nullable=false) + */ + private $type; + + /** + * @var string + * + * @ORM\Column(name="Fabricant", type="string", length=255, nullable=false) + */ + private $fabricant; + + /** + * @var int + * + * @ORM\Column(name="NbSlots", type="integer", nullable=false) + */ + private $nbslots; + + /** + * @var \DateTime + * + * @ORM\Column(name="DateCreation", type="datetime", nullable=false) + */ + private $datecreation; + + /** + * @var \DateTime + * + * @ORM\Column(name="DateSuppression", type="datetime", nullable=false) + */ + private $datesuppression; + + public function getLibrairieid(): ?int + { + return $this->librairieid; + } + + public function getNom(): ?string + { + return $this->nom; + } + + public function setNom(string $nom): self + { + $this->nom = $nom; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getFabricant(): ?string + { + return $this->fabricant; + } + + public function setFabricant(string $fabricant): self + { + $this->fabricant = $fabricant; + + return $this; + } + + public function getNbslots(): ?int + { + return $this->nbslots; + } + + public function setNbslots(int $nbslots): self + { + $this->nbslots = $nbslots; + + return $this; + } + + public function getDatecreation(): ?\DateTimeInterface + { + return $this->datecreation; + } + + public function setDatecreation(\DateTimeInterface $datecreation): self + { + $this->datecreation = $datecreation; + + return $this; + } + + public function getDatesuppression(): ?\DateTimeInterface + { + return $this->datesuppression; + } + + public function setDatesuppression(\DateTimeInterface $datesuppression): self + { + $this->datesuppression = $datesuppression; + + return $this; + } + + +}