src/Entity/JobSchool.php line 7

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. class JobSchool
  5. {
  6.     /**
  7.      * @var integer
  8.      */
  9.     private $id;
  10.     /**
  11.      * @var \App\Entity\School
  12.      */
  13.     private $school;
  14.     /**
  15.      * @var \App\Entity\Job
  16.      */
  17.     private $job;
  18.     /**
  19.      * Get id
  20.      *
  21.      * @return integer
  22.      */
  23.     public function getId()
  24.     {
  25.         return $this->id;
  26.     }
  27.     /**
  28.      * Set school
  29.      *
  30.      * @param \App\Entity\School $school
  31.      *
  32.      * @return JobSchool
  33.      */
  34.     public function setSchool(\App\Entity\School $school null)
  35.     {
  36.         $this->school $school;
  37.         return $this;
  38.     }
  39.     /**
  40.      * Get school
  41.      *
  42.      * @return \App\Entity\School
  43.      */
  44.     public function getSchool()
  45.     {
  46.         return $this->school;
  47.     }
  48.     /**
  49.      * Set job
  50.      *
  51.      * @param \App\Entity\Job $job
  52.      *
  53.      * @return JobSchool
  54.      */
  55.     public function setJob(\App\Entity\Job $job null)
  56.     {
  57.         $this->job $job;
  58.         return $this;
  59.     }
  60.     /**
  61.      * Get job
  62.      *
  63.      * @return \App\Entity\Job
  64.      */
  65.     public function getJob()
  66.     {
  67.         return $this->job;
  68.     }
  69.     /**
  70.      * @var bool
  71.      */
  72.     private $isActive true;
  73.     /**
  74.      * Set isActive.
  75.      *
  76.      * @param bool $isActive
  77.      *
  78.      * @return JobSchool
  79.      */
  80.     public function setIsActive($isActive)
  81.     {
  82.         $this->isActive $isActive;
  83.         return $this;
  84.     }
  85.     /**
  86.      * Get isActive.
  87.      *
  88.      * @return bool
  89.      */
  90.     public function getIsActive()
  91.     {
  92.         return $this->isActive;
  93.     }
  94. }