<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use ApiPlatform\Core\Annotation\ApiResource;
use Symfony\Component\Serializer\Annotation\Groups;
use App\Entity\Intervention;
use App\Entity\User;
/**
*
* Represente le planning des médécins probablement.
* @ORM\Table()
* @ORM\Entity()
*
*/
class Setting
{
/**
* @var integer $id
*
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*
* @Groups({"read"})
*/
private $id;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $enableTeleconsultation = false;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return boolean
*/
public function getEnableTeleconsultation()
{
return $this->enableTeleconsultation;
}
/**
* @param boolean $enableTeleconsultation
*/
public function setEnableTeleconsultation($enableTeleconsultation)
{
$this->enableTeleconsultation = $enableTeleconsultation;
}
}