src/Entity/CancelReason.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Contrat client
  6.  *
  7.  * @ORM\Table()
  8.  * @ORM\Entity
  9.  */
  10. class CancelReason
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @ORM\Column(name="label", type="string", nullable=true)
  22.      */
  23.     private $label;
  24.     /**
  25.      * @ORM\Column(name="plannedAgain", type="boolean", nullable=true)
  26.      */
  27.     private $plannedAgain true;
  28.     public function __toString()
  29.     {
  30.         return $this->label;
  31.     }
  32.     /**
  33.      * @return int
  34.      */
  35.     public function getId(): int
  36.     {
  37.         return $this->id;
  38.     }
  39.     /**
  40.      * @param int $id
  41.      */
  42.     public function setId(int $id): void
  43.     {
  44.         $this->id $id;
  45.     }
  46.     /**
  47.      * @return mixed
  48.      */
  49.     public function getLabel()
  50.     {
  51.         return $this->label;
  52.     }
  53.     /**
  54.      * @param mixed $label
  55.      */
  56.     public function setLabel($label): void
  57.     {
  58.         $this->label $label;
  59.     }
  60.     /**
  61.      * @return mixed
  62.      */
  63.     public function getPlannedAgain()
  64.     {
  65.         return $this->plannedAgain;
  66.     }
  67.     /**
  68.      * @param mixed $plannedAgain
  69.      */
  70.     public function setPlannedAgain($plannedAgain): void
  71.     {
  72.         $this->plannedAgain $plannedAgain;
  73.     }
  74. }