src/Entity/UserClinicConnectRequest.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Traits\CreatedUpdatedTrait;
  5. /**
  6.  * UserClinicConnectRequest
  7.  *
  8.  * @ORM\Table(name="v_user_clinic_connect_request")
  9.  * @ORM\Entity
  10.  */
  11. class UserClinicConnectRequest
  12. {
  13.     /**
  14.      * @var integer
  15.      *
  16.      * @ORM\Column(name="id", type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var \App\Entity\User
  23.      * @ORM\ManyToOne(targetEntity="App\Entity\User")
  24.      */
  25.     private $user;
  26.     /**
  27.      * @var \App\Entity\Clinic
  28.      * @ORM\ManyToOne(targetEntity="App\Entity\Clinic")
  29.      */
  30.     private $clinic;
  31.     /**
  32.      * @var boolean
  33.      *
  34.      * @ORM\Column(name="resolved", type="boolean")
  35.      */
  36.     private $resolved;
  37.     use CreatedUpdatedTrait;
  38.     /**
  39.      * Get id
  40.      *
  41.      * @return integer
  42.      */
  43.     public function getId()
  44.     {
  45.         return $this->id;
  46.     }
  47.     /**
  48.      * @return \App\Entity\User
  49.      */
  50.     public function getUser()
  51.     {
  52.         return $this->user;
  53.     }
  54.     /**
  55.      * @param \App\Entity\User $user
  56.      */
  57.     public function setUser($user)
  58.     {
  59.         $this->user $user;
  60.     }
  61.     /**
  62.      * @return \App\Entity\Clinic
  63.      */
  64.     public function getClinic()
  65.     {
  66.         return $this->clinic;
  67.     }
  68.     /**
  69.      * @param \App\Entity\Clinic $clinic
  70.      */
  71.     public function setClinic(Clinic $clinic)
  72.     {
  73.         $this->clinic $clinic;
  74.     }
  75.     /**
  76.      * @return bool
  77.      */
  78.     public function isResolved(): ?bool
  79.     {
  80.         return $this->resolved;
  81.     }
  82.     /**
  83.      * @param bool $resolved
  84.      */
  85.     public function setResolved(?bool $resolved): void
  86.     {
  87.         $this->resolved $resolved;
  88.     }
  89. }