<?php
namespace App\Entity;
use DateTimeImmutable;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\HttpFoundation\File\File;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
use Symfony\Component\Validator\Constraints as Assert;
use App\Repository\RegistrationStudentPreRegistrationRepository;
/**
* @ORM\Entity(repositoryClass=RegistrationStudentPreRegistrationRepository::class)
* @Vich\Uploadable
*/
class RegistrationStudentPreRegistration
{
public const LAST_ETS_TYPE = ['AUCUN' => 'AUCUN', 'PUBLIQUE' => 'PUBLIQUE', 'PRIVEE' => 'PRIVEE'];
public const LV1 = ['ANGLAIS' => 'ANGLAIS'];
public const LV2 = ['AUCUN' => 'AUCUN', 'ALLEMAND' => 'ALLEMAND', 'ESPAGNOLE' => 'ESPAGNOLE'];
public const GENDER = ['MASCULIN' => 'MASCULIN', 'FEMININ' => 'FEMININ', 'INCONNU' => 'INCONNU'];
public const WHER_RESIDE = ['CHEZ SES PARENTS' => 'CHEZ SES PARENTS', 'CHEZ SON PERE' => 'CHEZ SON PERE', 'CHEZ SA MERE' => 'CHEZ SA MERE','CHEZ UN TUTEUR' => 'CHEZ UN TUTEUR'];
public const PARENT_STATUS = ['CELIBATAIRE' => 'CELIBATAIRE', 'MARIE(E)' => 'MARIE(E)', 'VIE MARITALE' => 'VIE MARITALE','DIVORCE(E)' => 'DIVORCE(E)','SEPARE(E)' => 'SEPARE(E)','VEUF(VE)' => 'VEUF(VE)'];
public const RESPONSIBLE_OF_SCHOOLING = ['LE PERE ET LA MERE' => 'LE PERE ET LA MERE', 'PERE' => 'PERE', 'MERE' => 'MERE','AUTRE' => 'AUTRE'];
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=RegistrationStudent::class, inversedBy="registrationStudentPreRegistrations")
*/
private $student;
/**
* @ORM\ManyToOne(targetEntity=Establishment::class, inversedBy="registrationStudentPreRegistrations")
* @ORM\JoinColumn(nullable=false)
*/
private $establishment;
/**
* @ORM\ManyToOne(targetEntity=SettingLevel::class, inversedBy="registrationStudentPreRegistrations")
*/
private $entryLevel;
/**
* @ORM\ManyToOne(targetEntity=SchoolYear::class, inversedBy="registrationStudentPreRegistrations")
* @ORM\JoinColumn(nullable=false)
*/
private $schoolYear;
/**
* @ORM\Column(type="string", length=60)
*/
private $code;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $num_cmu;
/**
* @ORM\Column(type="string", length=128)
*/
private $last_name;
/**
* @ORM\Column(type="string", length=128)
*/
private $first_name;
/**
* @ORM\Column(type="string", length=60, nullable=true)
* @Assert\Length(
* min = 10,
* max = 10,
* minMessage = "Le numero doit comporter au moins {{ limit }} charactères",
* maxMessage = "Le numero ne peut pas être plus long que {{ limit }} charactères"
* )
* @Assert\Regex(pattern="/^[0-9]{10}$/", message="Mettez un numero valide (99999999) S.V.P")
*/
private $notification_phone_number;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $notification_name;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $notification_watsapp_number;
/**
* @ORM\Column(type="text", length=60, nullable=true)
*/
private $observation;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $location;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $gender;
/**
* @ORM\Column(type="date_immutable")
*/
private $birthday;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $birth_certificate_number;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $created_at;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $updated_at;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $created_by;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $updated_by;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $image;
/**
* NOTE: This is not a mapped field of entity metadata, just a simple property.
*
* @Vich\UploadableField(mapping="student", fileNameProperty="image")
*
* @var File|null
* @Assert\File(
* maxSize = "25M",
* mimeTypes = {"image/png", "image/jpg", "image/jpeg"},
* mimeTypesMessage = "Veuillez télécharger une image valide (png, jpg, jpeg)",
* maxSizeMessage = "Le fichier est trop volumineux ({{size}} {{suffix}}). La taille maximale autorisée est {{limit}} {{suffix}}"
* )
*/
private $imageFile;
/**
* @ORM\Column(type="date_immutable")
*/
private $create_date;
/**
* @ORM\Column(type="boolean")
* est affecte(e)
*/
private $is_affected;
/**
* @ORM\Column(type="boolean")
*/
private $is_redoubling;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $last_school_attended;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $last_school_attended_type;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $birth_location;
/**
* @ORM\Column(type="boolean")
*/
private $is_subject_entry_test;
/**
* @ORM\Column(type="boolean")
*/
private $is_entry_test_done;
/**
* @ORM\Column(type="boolean")
*/
private $is_entry_test_performed;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $entry_test_result;
/**
* @ORM\Column(type="boolean")
*/
private $is_subject_toxicological_test;
/**
* @ORM\Column(type="boolean")
*/
private $is_toxicological_test_performed;
/**
* @ORM\Column(type="boolean")
*/
private $is_toxicological_test_refused;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $toxicological_test_appreciation;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $toxicological_test_result;
/**
* @ORM\Column(type="boolean")
*/
private $is_subject_psychological_test;
/**
* @ORM\Column(type="boolean")
*/
private $is_psychological_test_performed;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $psychological_test_result;
/**
* @ORM\Column(type="string", length=60)
*/
private $registration_number;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $lv1;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $lv2;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $art_or_musique;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $nationality;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $where_resides;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $parent_status;
/**
* @ORM\Column(type="boolean")
*/
private $is_parntal_authority_father;
/**
* @ORM\Column(type="boolean")
*/
private $is_father_call_to_emergency;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $father_last_name;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $father_first_name;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $father_address;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $father_phone_number;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $father_post;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $father_location;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $father_email;
/**
* @ORM\Column(type="boolean")
*/
private $is_parntal_authority_mother;
/**
* @ORM\Column(type="boolean")
*/
private $is_mother_call_to_emergency;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $mother_last_name;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $mother_first_name;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $mother_address;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $mother_phone_number;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $mother_post;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $mother_location;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $mother_email;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $responsible_of_schooling;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $responsible_of_schooling_last_name;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $responsible_of_schooling_first_name;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $responsible_of_schooling_address;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $responsible_of_schooling_phone_number;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $responsible_of_schooling_post;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $responsible_of_schooling_location;
/**
* @ORM\Column(type="boolean")
*/
private $is_need_canteen;
/**
* @ORM\Column(type="boolean")
*/
private $is_need_transport;
/**
* @ORM\Column(type="boolean")
*/
private $is_need_keep;
/**
* @ORM\Column(type="boolean")
*/
private $is_need_extrat_activity;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $hold_student_id;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $accompanying_person_name;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $accompanying_person_phone_number;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $accompanying_person_name_2;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $accompanying_person_phone_number_2;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $accompanying_person_name_3;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $accompanying_person_phone_number_3;
/**
* @ORM\ManyToMany(targetEntity=SettingLevel::class, inversedBy="classJumpRegistrationStudentPreRegistrations")
*/
private $classJumps;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentRegistration::class, mappedBy="registrationStudentPreRegistration")
*/
private $registrationStudentRegistrations;
/**
* @ORM\OneToMany(targetEntity=PreRegistrationEntreTestReportCard::class, mappedBy="registrationStudentPreRegistration")
*/
private $preRegistrationEntreTestReportCards;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $final_decision_note;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $last_previous_class;
/**
* @ORM\OneToMany(targetEntity=ToxicologicalTestResult::class, mappedBy="registrationStudentPreRegistration")
*/
private $toxicologicalTestResults;
public function __construct()
{
$this->is_subject_toxicological_test = false;
$this->is_subject_entry_test = false;
$this->is_subject_psychological_test = false;
$this->is_need_canteen = false;
$this->is_need_transport = false;
$this->is_need_keep = false;
$this->is_need_extrat_activity = false;
$this->create_date = new DateTimeImmutable();
$this->is_redoubling = false;
$this->is_affected = false;
$this->is_parntal_authority_father = false;
$this->is_parntal_authority_mother = false;
$this->is_entry_test_done = false;
$this->is_entry_test_performed = false;
$this->is_toxicological_test_performed = false;
$this->is_toxicological_test_refused = false;
$this->is_psychological_test_performed = false;
$this->classJumps = new ArrayCollection();
$this->registrationStudentRegistrations = new ArrayCollection();
$this->preRegistrationEntreTestReportCards = new ArrayCollection();
$this->toxicologicalTestResults = new ArrayCollection();
}
public function getName(){
return $this->getEntryLevel()->getLabel() . ' ' . $this->getRegistrationNumber() . ' ' .$this->getLastName(). ' '.$this->getFirstName();
}
/**
* If manually uploading a file (i.e. not using Symfony Form) ensure an instance
* of 'UploadedFile' is injected into this setter to trigger the update. If this
* bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
* must be able to accept an instance of 'File' as the bundle will inject one here
* during Doctrine hydration.
*
* @param File|\Symfony\Component\HttpFoundation\File\UploadedFile|null $imageFile
*/
public function setImageFile(?File $imageFile = null): void
{
$this->imageFile = $imageFile;
if (null !== $imageFile) {
// It is required that at least one field changes if you are using doctrine
// otherwise the event listeners won't be called and the file is lost
$this->updated_at = new \DateTimeImmutable();
}
}
public function getImageFile(): ?File
{
return $this->imageFile;
}
public function __toString()
{
return $this->getName();
}
public function getId(): ?int
{
return $this->id;
}
public function getStudent(): ?RegistrationStudent
{
return $this->student;
}
public function setStudent(?RegistrationStudent $student): self
{
$this->student = $student;
return $this;
}
public function getEstablishment(): ?Establishment
{
return $this->establishment;
}
public function setEstablishment(?Establishment $establishment): self
{
$this->establishment = $establishment;
return $this;
}
public function getEntryLevel(): ?SettingLevel
{
return $this->entryLevel;
}
public function setEntryLevel(?SettingLevel $entryLevel): self
{
$this->entryLevel = $entryLevel;
return $this;
}
public function getCode(): ?string
{
return $this->code;
}
public function setCode(string $code): self
{
$this->code = $code;
return $this;
}
public function getLastName(): ?string
{
return $this->last_name;
}
public function setLastName(string $last_name): self
{
$this->last_name = $last_name;
return $this;
}
public function getFirstName(): ?string
{
return $this->first_name;
}
public function setFirstName(string $first_name): self
{
$this->first_name = $first_name;
return $this;
}
public function getNotificationPhoneNumber(): ?string
{
return $this->notification_phone_number;
}
public function setNotificationPhoneNumber(?string $notification_phone_number): self
{
$this->notification_phone_number = $notification_phone_number;
return $this;
}
public function getNotificationName(): ?string
{
return $this->notification_name;
}
public function setNotificationName(?string $notification_name): self
{
$this->notification_name = $notification_name;
return $this;
}
public function getObservation(): ?string
{
return $this->observation;
}
public function setObservation(?string $observation): self
{
$this->observation = $observation;
return $this;
}
public function getLocation(): ?string
{
return $this->location;
}
public function setLocation(?string $location): self
{
$this->location = $location;
return $this;
}
public function getGender(): ?string
{
return $this->gender;
}
public function setGender(?string $gender): self
{
$this->gender = $gender;
return $this;
}
public function getBirthday(): ?\DateTimeImmutable
{
return $this->birthday;
}
public function setBirthday(\DateTimeImmutable $birthday): self
{
$this->birthday = $birthday;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->created_at;
}
public function setCreatedAt(\DateTimeImmutable $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getUpdatedAt(): ?\DateTimeImmutable
{
return $this->updated_at;
}
public function setUpdatedAt(\DateTimeImmutable $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getCreatedBy(): ?int
{
return $this->created_by;
}
public function setCreatedBy(?int $created_by): self
{
$this->created_by = $created_by;
return $this;
}
public function getUpdatedBy(): ?int
{
return $this->updated_by;
}
public function setUpdatedBy(?int $updated_by): self
{
$this->updated_by = $updated_by;
return $this;
}
public function getImage(): ?string
{
return $this->image;
}
public function setImage(?string $image): self
{
$this->image = $image;
return $this;
}
public function getCreateDate(): ?\DateTimeImmutable
{
return $this->create_date;
}
public function setCreateDate(\DateTimeImmutable $create_date): self
{
$this->create_date = $create_date;
return $this;
}
public function getIsAffected(): ?bool
{
return $this->is_affected;
}
public function setIsAffected(bool $is_affected): self
{
$this->is_affected = $is_affected;
return $this;
}
public function getIsRedoubling(): ?bool
{
return $this->is_redoubling;
}
public function setIsRedoubling(bool $is_redoubling): self
{
$this->is_redoubling = $is_redoubling;
return $this;
}
public function getLastSchoolAttended(): ?string
{
return $this->last_school_attended;
}
public function setLastSchoolAttended(?string $last_school_attended): self
{
$this->last_school_attended = $last_school_attended;
return $this;
}
public function getLastSchoolAttendedType(): ?string
{
return $this->last_school_attended_type;
}
public function setLastSchoolAttendedType(?string $last_school_attended_type): self
{
$this->last_school_attended_type = $last_school_attended_type;
return $this;
}
public function getBirthLocation(): ?string
{
return $this->birth_location;
}
public function setBirthLocation(?string $birth_location): self
{
$this->birth_location = $birth_location;
return $this;
}
public function getIsEntryTestPerformed(): ?bool
{
return $this->is_entry_test_performed;
}
public function setIsEntryTestPerformed(bool $is_entry_test_performed): self
{
$this->is_entry_test_performed = $is_entry_test_performed;
return $this;
}
public function getEntryTestResult(): ?string
{
return $this->entry_test_result;
}
public function setEntryTestResult(?string $entry_test_result): self
{
$this->entry_test_result = $entry_test_result;
return $this;
}
public function getIsToxicologicalTestPerformed(): ?bool
{
return $this->is_toxicological_test_performed;
}
public function setIsToxicologicalTestPerformed(bool $is_toxicological_test_performed): self
{
$this->is_toxicological_test_performed = $is_toxicological_test_performed;
return $this;
}
public function getToxicologicalTestResult(): ?string
{
return $this->toxicological_test_result;
}
public function setToxicologicalTestResult(?string $toxicological_test_result): self
{
$this->toxicological_test_result = $toxicological_test_result;
return $this;
}
public function getIsPsychologicalTestPerformed(): ?bool
{
return $this->is_psychological_test_performed;
}
public function setIsPsychologicalTestPerformed(bool $is_psychological_test_performed): self
{
$this->is_psychological_test_performed = $is_psychological_test_performed;
return $this;
}
public function getPsychologicalTestResult(): ?string
{
return $this->psychological_test_result;
}
public function setPsychologicalTestResult(?string $psychological_test_result): self
{
$this->psychological_test_result = $psychological_test_result;
return $this;
}
public function getRegistrationNumber(): ?string
{
return $this->registration_number;
}
public function setRegistrationNumber(string $registration_number): self
{
$this->registration_number = $registration_number;
return $this;
}
public function getLv1(): ?string
{
return $this->lv1;
}
public function setLv1(?string $lv1): self
{
$this->lv1 = $lv1;
return $this;
}
public function getLv2(): ?string
{
return $this->lv2;
}
public function setLv2(?string $lv2): self
{
$this->lv2 = $lv2;
return $this;
}
public function getNationality(): ?string
{
return $this->nationality;
}
public function setNationality(?string $nationality): self
{
$this->nationality = $nationality;
return $this;
}
public function getWhereResides(): ?string
{
return $this->where_resides;
}
public function setWhereResides(?string $where_resides): self
{
$this->where_resides = $where_resides;
return $this;
}
public function getParentStatus(): ?string
{
return $this->parent_status;
}
public function setParentStatus(?string $parent_status): self
{
$this->parent_status = $parent_status;
return $this;
}
public function getIsParntalAuthorityFather(): ?bool
{
return $this->is_parntal_authority_father;
}
public function setIsParntalAuthorityFather(bool $is_parntal_authority_father): self
{
$this->is_parntal_authority_father = $is_parntal_authority_father;
return $this;
}
public function getIsFatherCallToEmergency(): ?bool
{
return $this->is_father_call_to_emergency;
}
public function setIsFatherCallToEmergency(bool $is_father_call_to_emergency): self
{
$this->is_father_call_to_emergency = $is_father_call_to_emergency;
return $this;
}
public function getFatherLastName(): ?string
{
return $this->father_last_name;
}
public function setFatherLastName(?string $father_last_name): self
{
$this->father_last_name = $father_last_name;
return $this;
}
public function getFatherFirstName(): ?string
{
return $this->father_first_name;
}
public function setFatherFirstName(?string $father_first_name): self
{
$this->father_first_name = $father_first_name;
return $this;
}
public function getFatherAddress(): ?string
{
return $this->father_address;
}
public function setFatherAddress(?string $father_address): self
{
$this->father_address = $father_address;
return $this;
}
public function getFatherPhoneNumber(): ?string
{
return $this->father_phone_number;
}
public function setFatherPhoneNumber(?string $father_phone_number): self
{
$this->father_phone_number = $father_phone_number;
return $this;
}
public function getFatherPost(): ?string
{
return $this->father_post;
}
public function setFatherPost(?string $father_post): self
{
$this->father_post = $father_post;
return $this;
}
public function getFatherLocation(): ?string
{
return $this->father_location;
}
public function setFatherLocation(?string $father_location): self
{
$this->father_location = $father_location;
return $this;
}
public function getFatherEmail(): ?string
{
return $this->father_email;
}
public function setFatherEmail(?string $father_email): self
{
$this->father_email = $father_email;
return $this;
}
public function getIsParntalAuthorityMother(): ?bool
{
return $this->is_parntal_authority_mother;
}
public function setIsParntalAuthorityMother(bool $is_parntal_authority_mother): self
{
$this->is_parntal_authority_mother = $is_parntal_authority_mother;
return $this;
}
public function getIsMotherCallToEmergency(): ?bool
{
return $this->is_mother_call_to_emergency;
}
public function setIsMotherCallToEmergency(bool $is_mother_call_to_emergency): self
{
$this->is_mother_call_to_emergency = $is_mother_call_to_emergency;
return $this;
}
public function getMotherLastName(): ?string
{
return $this->mother_last_name;
}
public function setMotherLastName(?string $mother_last_name): self
{
$this->mother_last_name = $mother_last_name;
return $this;
}
public function getMotherFirstName(): ?string
{
return $this->mother_first_name;
}
public function setMotherFirstName(?string $mother_first_name): self
{
$this->mother_first_name = $mother_first_name;
return $this;
}
public function getMotherAddress(): ?string
{
return $this->mother_address;
}
public function setMotherAddress(?string $mother_address): self
{
$this->mother_address = $mother_address;
return $this;
}
public function getMotherPhoneNumber(): ?string
{
return $this->mother_phone_number;
}
public function setMotherPhoneNumber(?string $mother_phone_number): self
{
$this->mother_phone_number = $mother_phone_number;
return $this;
}
public function getMotherPost(): ?string
{
return $this->mother_post;
}
public function setMotherPost(?string $mother_post): self
{
$this->mother_post = $mother_post;
return $this;
}
public function getMotherLocation(): ?string
{
return $this->mother_location;
}
public function setMotherLocation(?string $mother_location): self
{
$this->mother_location = $mother_location;
return $this;
}
public function getMotherEmail(): ?string
{
return $this->mother_email;
}
public function setMotherEmail(?string $mother_email): self
{
$this->mother_email = $mother_email;
return $this;
}
public function getResponsibleOfSchooling(): ?string
{
return $this->responsible_of_schooling;
}
public function setResponsibleOfSchooling(?string $responsible_of_schooling): self
{
$this->responsible_of_schooling = $responsible_of_schooling;
return $this;
}
public function getResponsibleOfSchoolingLastName(): ?string
{
return $this->responsible_of_schooling_last_name;
}
public function setResponsibleOfSchoolingLastName(?string $responsible_of_schooling_last_name): self
{
$this->responsible_of_schooling_last_name = $responsible_of_schooling_last_name;
return $this;
}
public function getResponsibleOfSchoolingFirstName(): ?string
{
return $this->responsible_of_schooling_first_name;
}
public function setResponsibleOfSchoolingFirstName(?string $responsible_of_schooling_first_name): self
{
$this->responsible_of_schooling_first_name = $responsible_of_schooling_first_name;
return $this;
}
public function getResponsibleOfSchoolingAddress(): ?string
{
return $this->responsible_of_schooling_address;
}
public function setResponsibleOfSchoolingAddress(?string $responsible_of_schooling_address): self
{
$this->responsible_of_schooling_address = $responsible_of_schooling_address;
return $this;
}
public function getResponsibleOfSchoolingPhoneNumber(): ?string
{
return $this->responsible_of_schooling_phone_number;
}
public function setResponsibleOfSchoolingPhoneNumber(?string $responsible_of_schooling_phone_number): self
{
$this->responsible_of_schooling_phone_number = $responsible_of_schooling_phone_number;
return $this;
}
public function getResponsibleOfSchoolingPost(): ?string
{
return $this->responsible_of_schooling_post;
}
public function setResponsibleOfSchoolingPost(?string $responsible_of_schooling_post): self
{
$this->responsible_of_schooling_post = $responsible_of_schooling_post;
return $this;
}
public function getResponsibleOfSchoolingLocation(): ?string
{
return $this->responsible_of_schooling_location;
}
public function setResponsibleOfSchoolingLocation(?string $responsible_of_schooling_location): self
{
$this->responsible_of_schooling_location = $responsible_of_schooling_location;
return $this;
}
public function getIsNeedCanteen(): ?bool
{
return $this->is_need_canteen;
}
public function setIsNeedCanteen(bool $is_need_canteen): self
{
$this->is_need_canteen = $is_need_canteen;
return $this;
}
public function getIsNeedTransport(): ?bool
{
return $this->is_need_transport;
}
public function setIsNeedTransport(bool $is_need_transport): self
{
$this->is_need_transport = $is_need_transport;
return $this;
}
public function getIsNeedKeep(): ?bool
{
return $this->is_need_keep;
}
public function setIsNeedKeep(bool $is_need_keep): self
{
$this->is_need_keep = $is_need_keep;
return $this;
}
public function getIsNeedExtratActivity(): ?bool
{
return $this->is_need_extrat_activity;
}
public function setIsNeedExtratActivity(bool $is_need_extrat_activity): self
{
$this->is_need_extrat_activity = $is_need_extrat_activity;
return $this;
}
public function getAccompanyingPersonName(): ?string
{
return $this->accompanying_person_name;
}
public function setAccompanyingPersonName(?string $accompanying_person_name): self
{
$this->accompanying_person_name = $accompanying_person_name;
return $this;
}
public function getAccompanyingPersonPhoneNumber(): ?string
{
return $this->accompanying_person_phone_number;
}
public function setAccompanyingPersonPhoneNumber(?string $accompanying_person_phone_number): self
{
$this->accompanying_person_phone_number = $accompanying_person_phone_number;
return $this;
}
public function getSchoolYear(): ?SchoolYear
{
return $this->schoolYear;
}
public function setSchoolYear(?SchoolYear $schoolYear): self
{
$this->schoolYear = $schoolYear;
return $this;
}
public function getNotificationWatsappNumber(): ?string
{
return $this->notification_watsapp_number;
}
public function setNotificationWatsappNumber(?string $notification_watsapp_number): self
{
$this->notification_watsapp_number = $notification_watsapp_number;
return $this;
}
public function getIsEntryTestDone(): ?bool
{
return $this->is_entry_test_done;
}
public function setIsEntryTestDone(bool $is_entry_test_done): self
{
$this->is_entry_test_done = $is_entry_test_done;
return $this;
}
/**
* @return Collection|SettingLevel[]
*/
public function getClassJumps(): Collection
{
return $this->classJumps;
}
public function addClassJump(SettingLevel $classJump): self
{
if (!$this->classJumps->contains($classJump)) {
$this->classJumps[] = $classJump;
}
return $this;
}
public function removeClassJump(SettingLevel $classJump): self
{
$this->classJumps->removeElement($classJump);
return $this;
}
public function getIsClassJump(): ?bool
{
return count($this->getClassJumps()) > 0;
}
/**
* @return Collection|RegistrationStudentRegistration[]
*/
public function getRegistrationStudentRegistrations(): Collection
{
return $this->registrationStudentRegistrations;
}
public function addRegistrationStudentRegistration(RegistrationStudentRegistration $registrationStudentRegistration): self
{
if (!$this->registrationStudentRegistrations->contains($registrationStudentRegistration)) {
$this->registrationStudentRegistrations[] = $registrationStudentRegistration;
$registrationStudentRegistration->setRegistrationStudentPreRegistration($this);
}
return $this;
}
public function removeRegistrationStudentRegistration(RegistrationStudentRegistration $registrationStudentRegistration): self
{
if ($this->registrationStudentRegistrations->removeElement($registrationStudentRegistration)) {
// set the owning side to null (unless already changed)
if ($registrationStudentRegistration->getRegistrationStudentPreRegistration() === $this) {
$registrationStudentRegistration->setRegistrationStudentPreRegistration(null);
}
}
return $this;
}
public function getIsSubjectEntryTest(): ?bool
{
return $this->is_subject_entry_test;
}
public function setIsSubjectEntryTest(bool $is_subject_entry_test): self
{
$this->is_subject_entry_test = $is_subject_entry_test;
return $this;
}
public function getIsSubjectToxicologicalTest(): ?bool
{
return $this->is_subject_toxicological_test;
}
public function setIsSubjectToxicologicalTest(bool $is_subject_toxicological_test): self
{
$this->is_subject_toxicological_test = $is_subject_toxicological_test;
return $this;
}
public function getIsSubjectPsychologicalTest(): ?bool
{
return $this->is_subject_psychological_test;
}
public function setIsSubjectPsychologicalTest(bool $is_subject_psychological_test): self
{
$this->is_subject_psychological_test = $is_subject_psychological_test;
return $this;
}
public function getHoldStudentId(): ?int
{
return $this->hold_student_id;
}
public function setHoldStudentId(?int $hold_student_id): self
{
$this->hold_student_id = $hold_student_id;
return $this;
}
/**
* @return Collection|PreRegistrationEntreTestReportCard[]
*/
public function getPreRegistrationEntreTestReportCards(): Collection
{
return $this->preRegistrationEntreTestReportCards;
}
public function addPreRegistrationEntreTestReportCard(PreRegistrationEntreTestReportCard $preRegistrationEntreTestReportCard): self
{
if (!$this->preRegistrationEntreTestReportCards->contains($preRegistrationEntreTestReportCard)) {
$this->preRegistrationEntreTestReportCards[] = $preRegistrationEntreTestReportCard;
$preRegistrationEntreTestReportCard->setRegistrationStudentPreRegistration($this);
}
return $this;
}
public function removePreRegistrationEntreTestReportCard(PreRegistrationEntreTestReportCard $preRegistrationEntreTestReportCard): self
{
if ($this->preRegistrationEntreTestReportCards->removeElement($preRegistrationEntreTestReportCard)) {
// set the owning side to null (unless already changed)
if ($preRegistrationEntreTestReportCard->getRegistrationStudentPreRegistration() === $this) {
$preRegistrationEntreTestReportCard->setRegistrationStudentPreRegistration(null);
}
}
return $this;
}
public function getAccompanyingPersonName2(): ?string
{
return $this->accompanying_person_name_2;
}
public function setAccompanyingPersonName2(?string $accompanying_person_name_2): self
{
$this->accompanying_person_name_2 = $accompanying_person_name_2;
return $this;
}
public function getAccompanyingPersonPhoneNumber2(): ?string
{
return $this->accompanying_person_phone_number_2;
}
public function setAccompanyingPersonPhoneNumber2(?string $accompanying_person_phone_number_2): self
{
$this->accompanying_person_phone_number_2 = $accompanying_person_phone_number_2;
return $this;
}
public function getAccompanyingPersonName3(): ?string
{
return $this->accompanying_person_name_3;
}
public function setAccompanyingPersonName3(?string $accompanying_person_name_3): self
{
$this->accompanying_person_name_3 = $accompanying_person_name_3;
return $this;
}
public function getAccompanyingPersonPhoneNumber3(): ?string
{
return $this->accompanying_person_phone_number_3;
}
public function setAccompanyingPersonPhoneNumber3(?string $accompanying_person_phone_number_3): self
{
$this->accompanying_person_phone_number_3 = $accompanying_person_phone_number_3;
return $this;
}
public function getFinalDecisionNote(): ?string
{
return $this->final_decision_note;
}
public function setFinalDecisionNote(?string $final_decision_note): self
{
$this->final_decision_note = $final_decision_note;
return $this;
}
public function getBirthCertificateNumber(): ?string
{
return $this->birth_certificate_number;
}
public function setBirthCertificateNumber(?string $birth_certificate_number): self
{
$this->birth_certificate_number = $birth_certificate_number;
return $this;
}
public function getLastPreviousClass(): ?string
{
return $this->last_previous_class;
}
public function setLastPreviousClass(?string $last_previous_class): self
{
$this->last_previous_class = $last_previous_class;
return $this;
}
public function getIsToxicologicalTestRefused(): ?bool
{
return $this->is_toxicological_test_refused;
}
public function setIsToxicologicalTestRefused(bool $is_toxicological_test_refused): self
{
$this->is_toxicological_test_refused = $is_toxicological_test_refused;
return $this;
}
public function getToxicologicalTestAppreciation(): ?string
{
return $this->toxicological_test_appreciation;
}
public function setToxicologicalTestAppreciation(?string $toxicological_test_appreciation): self
{
$this->toxicological_test_appreciation = $toxicological_test_appreciation;
return $this;
}
public function getArtOrMusique(): ?string
{
return $this->art_or_musique;
}
public function setArtOrMusique(?string $art_or_musique): self
{
$this->art_or_musique = $art_or_musique;
return $this;
}
public function getNumCmu(): ?string
{
return $this->num_cmu;
}
public function setNumCmu(?string $num_cmu): self
{
$this->num_cmu = $num_cmu;
return $this;
}
/**
* @return Collection|ToxicologicalTestResult[]
*/
public function getToxicologicalTestResults(): Collection
{
return $this->toxicologicalTestResults;
}
public function addToxicologicalTestResult(ToxicologicalTestResult $toxicologicalTestResult): self
{
if (!$this->toxicologicalTestResults->contains($toxicologicalTestResult)) {
$this->toxicologicalTestResults[] = $toxicologicalTestResult;
$toxicologicalTestResult->setRegistrationStudentPreRegistration($this);
}
return $this;
}
public function removeToxicologicalTestResult(ToxicologicalTestResult $toxicologicalTestResult): self
{
if ($this->toxicologicalTestResults->removeElement($toxicologicalTestResult)) {
// set the owning side to null (unless already changed)
if ($toxicologicalTestResult->getRegistrationStudentPreRegistration() === $this) {
$toxicologicalTestResult->setRegistrationStudentPreRegistration(null);
}
}
return $this;
}
}