src/Entity/Setting.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. use ApiPlatform\Core\Annotation\ApiResource;
  6. use Symfony\Component\Serializer\Annotation\Groups;
  7. use App\Entity\Intervention;
  8. use App\Entity\User;
  9. /**
  10.  *
  11.  * Represente le planning des médécins probablement.
  12.  * @ORM\Table()
  13.  * @ORM\Entity()
  14.  *
  15.  */
  16. class Setting
  17. {
  18.     /**
  19.      * @var integer $id
  20.      *
  21.      * @ORM\Id
  22.      * @ORM\Column(type="integer")
  23.      * @ORM\GeneratedValue(strategy="AUTO")
  24.      *
  25.      * @Groups({"read"})
  26.      */
  27.     private $id;
  28.     /**
  29.      * @var bool
  30.      *
  31.      * @ORM\Column(type="boolean")
  32.      */
  33.     private $enableTeleconsultation false;
  34.     /**
  35.      * @return int
  36.      */
  37.     public function getId()
  38.     {
  39.         return $this->id;
  40.     }
  41.     /**
  42.      * @param int $id
  43.      */
  44.     public function setId($id)
  45.     {
  46.         $this->id $id;
  47.     }
  48.     /**
  49.      * @return boolean
  50.      */
  51.     public function getEnableTeleconsultation()
  52.     {
  53.         return $this->enableTeleconsultation;
  54.     }
  55.     /**
  56.      * @param boolean $enableTeleconsultation
  57.      */
  58.     public function setEnableTeleconsultation($enableTeleconsultation)
  59.     {
  60.         $this->enableTeleconsultation $enableTeleconsultation;
  61.     }
  62. }