src/Entity/FraisLivraison.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FraisLivraisonRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=FraisLivraisonRepository::class)
  7.  * @ORM\Table(name="`fraisLivraison`")
  8.  */
  9. class FraisLivraison
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", nullable=true)
  19.      */
  20.     private $motCle;
  21.     /**
  22.      * @ORM\Column(type="string", nullable=true)
  23.      */
  24.     private $marque;
  25.     /**
  26.      * @ORM\Column(type="integer", nullable=true)
  27.      */
  28.     private $frais;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.      public function getFrais(): ?int
  34.     {
  35.         return $this->frais;
  36.     }
  37.     public function setFrais(?int $frais): self
  38.     {
  39.         $this->frais $frais;
  40.         return $this;
  41.     }
  42.     public function getMarque(): ?string
  43.     {
  44.         return $this->marque;
  45.     }
  46.     public function setMarque(?string $marque): self
  47.     {
  48.         $this->marque $marque;
  49.         return $this;
  50.     }
  51.     public function getMotCle(): ?string
  52.     {
  53.         return $this->motCle;
  54.     }
  55.     public function setMotCle(?string $motCle): self
  56.     {
  57.         $this->motCle $motCle;
  58.         return $this;
  59.     }
  60. }