src/Entity/CommandeEnLigneType.php line 13

Open in your IDE?
  1. <?php
  2. /**
  3.  * Created by Stéphane Brun
  4.  */
  5. namespace App\Entity;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity
  9.  * @ORM\Table(name="commande_en_ligne_type")
  10.  */
  11. class CommandeEnLigneType
  12. {
  13.     /**
  14.      * @ORM\Column(type="integer")
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     protected $id;
  19.     /**
  20.      * @ORM\Column(name="description", type="string", length=255)
  21.      */
  22.     protected $description;
  23.     /**
  24.      * @return mixed
  25.      */
  26.     public function getId()
  27.     {
  28.         return $this->id;
  29.     }
  30.     /**
  31.      * @return mixed
  32.      */
  33.     public function getDescription()
  34.     {
  35.         return $this->description;
  36.     }
  37.     /**
  38.      * @param mixed $description
  39.      */
  40.     public function setDescription($description)
  41.     {
  42.         $this->description $description;
  43.     }
  44. }