<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class SchoolDirectorMapping {
/**
* @var integer
*/
private $id;
/**
* @var boolean
*/
private $isActive = true;
/**
* @var bool
*/
private $isSelected = false;
/**
* @var \DateTime
*/
private $createdAt;
/**
* @var \App\Entity\School
*/
private $school;
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set isActive
*
* @param boolean $isActive
*
* @return SchoolDirectorMapping
*/
public function setIsActive($isActive) {
$this->isActive = $isActive;
return $this;
}
/**
* Get isActive
*
* @return boolean
*/
public function getIsActive() {
return $this->isActive;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return SchoolDirectorMapping
*/
public function setCreatedAt($createdAt) {
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt() {
return $this->createdAt;
}
/**
* Set school
*
* @param \App\Entity\School $school
*
* @return SchoolDirectorMapping
*/
public function setSchool(\App\Entity\School $school = null) {
$this->school = $school;
return $this;
}
/**
* Get school
*
* @return \App\Entity\School
*/
public function getSchool() {
return $this->school;
}
/**
* @var \App\Entity\User
*/
private $user;
/**
* Set user.
*
* @param \App\Entity\User|null $user
*
* @return SchoolDirectorMapping
*/
public function setUser(\App\Entity\User $user = null)
{
$this->user = $user;
return $this;
}
/**
* Get user.
*
* @return \App\Entity\User|null
*/
public function getUser()
{
return $this->user;
}
/**
* Set isSelected.
*
* @param bool $isSelected
*
* @return SchoolDirectorMapping
*/
public function setIsSelected($isSelected)
{
$this->isSelected = $isSelected;
return $this;
}
/**
* Get isSelected.
*
* @return bool
*/
public function getIsSelected()
{
return $this->isSelected;
}
}