<?php
namespace App\Entity\GuardianRegister;
use App\Repository\GuardianRegister\GuardianRegisterChildRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=GuardianRegisterChildRepository::class)
*/
class GuardianRegisterChild
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=GuardianRegister::class, inversedBy="guardianRegisterChildren")
*/
private $guardianRegister;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $class;
/**
* @ORM\OneToMany(targetEntity=GuardianRegisterChildPreference::class, mappedBy="guardianRegisterChild")
*/
private $guardianRegisterChildPreferences;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $fittingTimes;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $fittingTimesPriority;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $adminComment;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $email;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagRU;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagPL;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagENG;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagIB;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagDyslexia;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagSensitive;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $school;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagStrict;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $gender;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagExperienceAtSchool;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $flagIelts;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $vbeOver90;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $experienceOver12Month;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $tutorComment;
public function __construct()
{
$this->guardianRegisterChildPreferences = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getGuardianRegister(): ?GuardianRegister
{
return $this->guardianRegister;
}
public function setGuardianRegister(?GuardianRegister $guardianRegister): self
{
$this->guardianRegister = $guardianRegister;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getClass(): ?int
{
return $this->class;
}
public function setClass(?int $class): self
{
$this->class = $class;
return $this;
}
/**
* @return Collection<int, GuardianRegisterChildPreference>
*/
public function getGuardianRegisterChildPreferences(): Collection
{
return $this->guardianRegisterChildPreferences;
}
public function addGuardianRegisterChildPreference(GuardianRegisterChildPreference $guardianRegisterChildPreference): self
{
if (!$this->guardianRegisterChildPreferences->contains($guardianRegisterChildPreference)) {
$this->guardianRegisterChildPreferences[] = $guardianRegisterChildPreference;
$guardianRegisterChildPreference->setGuardianRegisterChild($this);
}
return $this;
}
public function removeGuardianRegisterChildPreference(GuardianRegisterChildPreference $guardianRegisterChildPreference): self
{
if ($this->guardianRegisterChildPreferences->removeElement($guardianRegisterChildPreference)) {
// set the owning side to null (unless already changed)
if ($guardianRegisterChildPreference->getGuardianRegisterChild() === $this) {
$guardianRegisterChildPreference->setGuardianRegisterChild(null);
}
}
return $this;
}
public function getFittingTimes(): ?string
{
return $this->fittingTimes;
}
public function setFittingTimes(?string $fittingTimes): self
{
$this->fittingTimes = $fittingTimes;
return $this;
}
public function getFittingTimesPriority(): ?string
{
return $this->fittingTimesPriority;
}
public function setFittingTimesPriority(?string $fittingTimesPriority): self
{
$this->fittingTimesPriority = $fittingTimesPriority;
return $this;
}
public function getAdminComment(): ?string
{
return $this->adminComment;
}
public function setAdminComment(?string $adminComment): self
{
$this->adminComment = $adminComment;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getFlagRU(): ?bool
{
return $this->flagRU;
}
public function setFlagRU(?bool $flagRU): self
{
$this->flagRU = $flagRU;
return $this;
}
public function getFlagPL(): ?bool
{
return $this->flagPL;
}
public function setFlagPL(?bool $flagPL): self
{
$this->flagPL = $flagPL;
return $this;
}
public function getFlagENG(): ?bool
{
return $this->flagENG;
}
public function setFlagENG(?bool $flagENG): self
{
$this->flagENG = $flagENG;
return $this;
}
public function getFlagIB(): ?bool
{
return $this->flagIB;
}
public function setFlagIB(?bool $flagIB): self
{
$this->flagIB = $flagIB;
return $this;
}
public function getFlagDyslexia(): ?bool
{
return $this->flagDyslexia;
}
public function setFlagDyslexia(?bool $flagDyslexia): self
{
$this->flagDyslexia = $flagDyslexia;
return $this;
}
public function getFlagSensitive(): ?bool
{
return $this->flagSensitive;
}
public function setFlagSensitive(?bool $flagSensitive): self
{
$this->flagSensitive = $flagSensitive;
return $this;
}
public function getSchool(): ?string
{
return $this->school;
}
public function setSchool(?string $school): self
{
$this->school = $school;
return $this;
}
public function isFlagStrict(): ?bool
{
return $this->flagStrict;
}
public function setFlagStrict(?bool $flagStrict): self
{
$this->flagStrict = $flagStrict;
return $this;
}
public function getGender(): ?string
{
return $this->gender;
}
public function setGender(?string $gender): self
{
$this->gender = $gender;
return $this;
}
public function isFlagExperienceAtSchool(): ?bool
{
return $this->flagExperienceAtSchool;
}
public function setFlagExperienceAtSchool(?bool $flagExperienceAtSchool): self
{
$this->flagExperienceAtSchool = $flagExperienceAtSchool;
return $this;
}
public function isFlagIelts(): ?bool
{
return $this->flagIelts;
}
public function setFlagIelts(?bool $flagIelts): self
{
$this->flagIelts = $flagIelts;
return $this;
}
public function isVbeOver90(): ?bool
{
return $this->vbeOver90;
}
public function setVbeOver90(?bool $vbeOver90): self
{
$this->vbeOver90 = $vbeOver90;
return $this;
}
public function isExperienceOver12Month(): ?bool
{
return $this->experienceOver12Month;
}
public function setExperienceOver12Month(?bool $experienceOver12Month): self
{
$this->experienceOver12Month = $experienceOver12Month;
return $this;
}
public function getTutorComment(): ?string
{
return $this->tutorComment;
}
public function setTutorComment(?string $tutorComment): self
{
$this->tutorComment = $tutorComment;
return $this;
}
}