src/Entity/SchoolDirectorMapping.php line 7

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. class SchoolDirectorMapping {
  5.     /**
  6.      * @var integer
  7.      */
  8.     private $id;
  9.     /**
  10.      * @var boolean
  11.      */
  12.     private $isActive true;
  13.     /**
  14.      * @var bool
  15.      */
  16.     private $isSelected false;    
  17.     
  18.     /**
  19.      * @var \DateTime
  20.      */
  21.     private $createdAt;
  22.     /**
  23.      * @var \App\Entity\School
  24.      */
  25.     private $school;
  26.     /**
  27.      * Get id
  28.      *
  29.      * @return integer
  30.      */
  31.     public function getId() {
  32.         return $this->id;
  33.     }
  34.     /**
  35.      * Set isActive
  36.      *
  37.      * @param boolean $isActive
  38.      *
  39.      * @return SchoolDirectorMapping
  40.      */
  41.     public function setIsActive($isActive) {
  42.         $this->isActive $isActive;
  43.         return $this;
  44.     }
  45.     /**
  46.      * Get isActive
  47.      *
  48.      * @return boolean
  49.      */
  50.     public function getIsActive() {
  51.         return $this->isActive;
  52.     }
  53.     /**
  54.      * Set createdAt
  55.      *
  56.      * @param \DateTime $createdAt
  57.      *
  58.      * @return SchoolDirectorMapping
  59.      */
  60.     public function setCreatedAt($createdAt) {
  61.         $this->createdAt $createdAt;
  62.         return $this;
  63.     }
  64.     /**
  65.      * Get createdAt
  66.      *
  67.      * @return \DateTime
  68.      */
  69.     public function getCreatedAt() {
  70.         return $this->createdAt;
  71.     }
  72.     /**
  73.      * Set school
  74.      *
  75.      * @param \App\Entity\School $school
  76.      *
  77.      * @return SchoolDirectorMapping
  78.      */
  79.     public function setSchool(\App\Entity\School $school null) {
  80.         $this->school $school;
  81.         return $this;
  82.     }
  83.     /**
  84.      * Get school
  85.      *
  86.      * @return \App\Entity\School
  87.      */
  88.     public function getSchool() {
  89.         return $this->school;
  90.     }
  91.     /**
  92.      * @var \App\Entity\User
  93.      */
  94.     private $user;
  95.     /**
  96.      * Set user.
  97.      *
  98.      * @param \App\Entity\User|null $user
  99.      *
  100.      * @return SchoolDirectorMapping
  101.      */
  102.     public function setUser(\App\Entity\User $user null)
  103.     {
  104.         $this->user $user;
  105.         return $this;
  106.     }
  107.     /**
  108.      * Get user.
  109.      *
  110.      * @return \App\Entity\User|null
  111.      */
  112.     public function getUser()
  113.     {
  114.         return $this->user;
  115.     }
  116.     /**
  117.      * Set isSelected.
  118.      *
  119.      * @param bool $isSelected
  120.      *
  121.      * @return SchoolDirectorMapping
  122.      */
  123.     public function setIsSelected($isSelected)
  124.     {
  125.         $this->isSelected $isSelected;
  126.         return $this;
  127.     }
  128.     /**
  129.      * Get isSelected.
  130.      *
  131.      * @return bool
  132.      */
  133.     public function getIsSelected()
  134.     {
  135.         return $this->isSelected;
  136.     }
  137. }