<?php
namespace App\Entity;
use Serializable;
use DateTimeImmutable;
use App\Service\SalaryManage;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\EstablishmentRepository;
use Doctrine\Common\Collections\Collection;
use Symfony\Component\HttpFoundation\File\File;
use Doctrine\Common\Collections\ArrayCollection;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\HttpFoundation\File\UploadedFile;
/**
* @ORM\Entity(repositoryClass=EstablishmentRepository::class)
* @Vich\Uploadable
*/
class Establishment implements Serializable
{
public const ESTABLISHMENT_TYPES = ['PRESCOLAIRE-PRIMAIRE' => 'PRESCOLAIRE-PRIMAIRE', 'SECONDAIRE GENERAL' => 'SECONDAIRE GENERAL', 'TECHNIQUE ET PROFESSIONNEL' => 'TECHNIQUE ET PROFESSIONNEL'];
public const ESTABLISHMENT_PRESCOLAIRE_PRIMAIRE_TYPES = 'PRESCOLAIRE-PRIMAIRE';
public const ESTABLISHMENT_SECONDAIRE_GENERAL_TYPES = 'SECONDAIRE GENERAL';
public const ESTABLISHMENT_TECHNIQUE_PROFESSIONNEL_TYPES = 'TECHNIQUE ET PROFESSIONNEL';
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=EstablishmentGroup::class, inversedBy="establishments")
* @ORM\JoinColumn(nullable=false)
*/
private $establishmentGroup;
/**
* @ORM\Column(type="string", length=60)
*/
private $code;
/**
* @ORM\Column(type="string", length=128)
*/
private $name;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $short_name;
/**
* @ORM\Column(type="string", length=128)
*/
private $type;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $phone_number;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $mobile_number;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $email;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $website;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $address;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $city;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $location;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $under_supervision;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $regional_directorate;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $main_activity;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $created_at;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $updated_at;
/**
* @ORM\Column(type="integer")
*/
private $created_by;
/**
* @ORM\Column(type="integer")
*/
private $updated_by;
/**
* @ORM\OneToMany(targetEntity=User::class, mappedBy="establishment")
*/
private $users;
/**
* @ORM\OneToMany(targetEntity=RhJob::class, mappedBy="establishment")
*/
private $rhJobs;
/**
* @ORM\OneToMany(targetEntity=RhDepartment::class, mappedBy="establishment")
*/
private $rhDepartments;
/**
* @ORM\OneToMany(targetEntity=RhSalary::class, mappedBy="establishment")
*/
private $rhSalaries;
/**
* @ORM\OneToMany(targetEntity=RhPaySlip::class, mappedBy="establishment")
*/
private $rhPaySlips;
/**
* @ORM\OneToMany(targetEntity=RhRetainedItem::class, mappedBy="establishment")
*/
private $rhRetainedItems;
/**
* @ORM\OneToMany(targetEntity=RhTaxableItem::class, mappedBy="establishment")
*/
private $rhTaxableItems;
/**
* @ORM\OneToMany(targetEntity=RhNonTaxableItem::class, mappedBy="establishment")
*/
private $rhNonTaxableItems;
/**
* @ORM\OneToMany(targetEntity=RhSalaryPaySlip::class, mappedBy="establishment")
*/
private $rhSalaryPaySlips;
/**
* @ORM\OneToMany(targetEntity=RhPaySlipRetainedItem::class, mappedBy="establishment")
*/
private $rhPaySlipRetainedItems;
/**
* @ORM\OneToMany(targetEntity=RhPaySlipTaxableItem::class, mappedBy="establishment")
*/
private $rhPaySlipTaxableItems;
/**
* @ORM\OneToMany(targetEntity=RhPaySlipNonTaxableItem::class, mappedBy="establishment")
*/
private $rhPaySlipNonTaxableItems;
/**
* @ORM\OneToMany(targetEntity=SettingCycle::class, mappedBy="establishment")
*/
private $settingCycles;
/**
* @ORM\OneToMany(targetEntity=SettingLevel::class, mappedBy="establishment")
*/
private $settingLevels;
/**
* @ORM\OneToMany(targetEntity=SettingFaculty::class, mappedBy="establishment")
*/
private $settingFaculties;
/**
* @ORM\OneToMany(targetEntity=SettingRound::class, mappedBy="establishment")
*/
private $settingRounds;
/**
* @ORM\OneToMany(targetEntity=SettingClassroom::class, mappedBy="establishment")
*/
private $settingClassrooms;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudent::class, mappedBy="establishment")
*/
private $registrationStudents;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentRegistration::class, mappedBy="establishment")
*/
private $registrationStudentRegistrations;
/**
* @ORM\OneToMany(targetEntity=SettingFee::class, mappedBy="establishment")
*/
private $settingFees;
/**
* @ORM\OneToMany(targetEntity=SettingFeeProvider::class, mappedBy="establishment")
*/
private $settingFeeProviders;
/**
* @ORM\OneToMany(targetEntity=SettingFeeShedul::class, mappedBy="establishment")
*/
private $settingFeeSheduls;
/**
* @ORM\OneToMany(targetEntity=AccountingStudentRegistrationFee::class, mappedBy="establishment")
*/
private $accountingStudentRegistrationFees;
/**
* @ORM\OneToMany(targetEntity=AccountingStudentRegistrationFeeShedul::class, mappedBy="establishment")
*/
private $accountingStudentRegistrationFeeSheduls;
/**
* @ORM\OneToMany(targetEntity=TreasuryCheckout::class, mappedBy="establishment")
*/
private $treasuryCheckouts;
/**
* @ORM\OneToMany(targetEntity=TreasuryCashRegister::class, mappedBy="establishment")
*/
private $treasuryCashRegisters;
/**
* @ORM\OneToMany(targetEntity=TreasuryCashMovement::class, mappedBy="establishment")
*/
private $treasuryCashMovements;
/**
* @ORM\OneToMany(targetEntity=AccountingStudentRegistrationFeeShedulPayment::class, mappedBy="establishment")
*/
private $accountingStudentRegistrationFeeShedulPayments;
/**
* @ORM\OneToMany(targetEntity=AccountingExpense::class, mappedBy="establishment")
*/
private $accountingExpenses;
/**
* @ORM\OneToMany(targetEntity=SchoolYearPeriode::class, mappedBy="establishment")
*/
private $schoolYearPeriodes;
/**
* @ORM\OneToMany(targetEntity=SchoolMatterType::class, mappedBy="establishment")
*/
private $schoolMatterTypes;
/**
* @ORM\OneToMany(targetEntity=SchoolMatter::class, mappedBy="establishment")
*/
private $schoolMatters;
/**
* @ORM\OneToMany(targetEntity=SchoolNoteAppreciation::class, mappedBy="establishment")
*/
private $schoolNoteAppreciations;
/**
* @ORM\OneToMany(targetEntity=SchoolSubMatter::class, mappedBy="establishment")
*/
private $schoolSubMatters;
/**
* @ORM\OneToMany(targetEntity=SchoolReportCard::class, mappedBy="establishment")
*/
private $schoolReportCards;
/**
* @ORM\OneToMany(targetEntity=SchoolAverageReportCard::class, mappedBy="establishment")
*/
private $schoolAverageReportCards;
/**
* @ORM\OneToMany(targetEntity=SchoolAssessmentByClass::class, mappedBy="establishment")
*/
private $schoolAssessmentByClasses;
/**
* @ORM\OneToMany(targetEntity=SchoolAssessmentByLevel::class, mappedBy="establishment")
*/
private $schoolAssessmentByLevels;
/**
* @ORM\OneToMany(targetEntity=SchoolAssessmentByClassByMatter::class, mappedBy="establishment")
*/
private $schoolAssessmentByClassByMatters;
/**
* @ORM\OneToMany(targetEntity=SchoolAssessmentByLevelByMatter::class, mappedBy="establishment")
*/
private $schoolAssessmentByLevelByMatters;
/**
* @ORM\OneToMany(targetEntity=ReportCard::class, mappedBy="establishment")
*/
private $reportCards;
/**
* @ORM\OneToMany(targetEntity=AccountingStudentRegistrationPayment::class, mappedBy="establishment")
*/
private $accountingStudentRegistrationPayments;
/**
* @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="establishment", 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\OneToMany(targetEntity=RegistrationClassChange::class, mappedBy="establishment")
*/
private $registrationClassChanges;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentDowngrade::class, mappedBy="establishment")
*/
private $registrationStudentDowngrades;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentDowngradeLine::class, mappedBy="establishment")
*/
private $registrationStudentDowngradeLines;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentAbandonment::class, mappedBy="establishment")
*/
private $registrationStudentAbandonments;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentAbandonmentLine::class, mappedBy="establishment")
*/
private $registrationStudentAbandonmentLines;
/**
* @ORM\OneToMany(targetEntity=TreasuryPayment::class, mappedBy="establishment")
*/
private $treasuryPayments;
/**
* @ORM\OneToMany(targetEntity=RegistrationStudentPreRegistration::class, mappedBy="establishment")
*/
private $registrationStudentPreRegistrations;
/**
* @ORM\OneToMany(targetEntity=EntreTestReportCard::class, mappedBy="establishment")
*/
private $entreTestReportCards;
/**
* @ORM\OneToMany(targetEntity=PreRegistrationEntreTestReportCard::class, mappedBy="establishment")
*/
private $preRegistrationEntreTestReportCards;
/**
* @ORM\OneToMany(targetEntity=MatterAveragePreRegistrationEntryTest::class, mappedBy="establishment")
*/
private $matterAveragePreRegistrationEntryTests;
/**
* @ORM\OneToMany(targetEntity=CommunicationMessage::class, mappedBy="establishment")
*/
private $communicationMessages;
/**
* @ORM\OneToMany(targetEntity=TransportVehicle::class, mappedBy="establishment")
*/
private $transportVehicles;
/**
* @ORM\OneToMany(targetEntity=TransportVehicleModel::class, mappedBy="establishment")
*/
private $transportVehicleModels;
/**
* @ORM\OneToMany(targetEntity=TransportVehicleAdministrativeDocument::class, mappedBy="establishment")
*/
private $transportVehicleAdministrativeDocuments;
/**
* @ORM\OneToMany(targetEntity=TransportVehicleMechanicalPiece::class, mappedBy="establishment")
*/
private $transportVehicleMechanicalPieces;
/**
* @ORM\OneToMany(targetEntity=TransportVehicleMaintenance::class, mappedBy="establishment")
*/
private $transportVehicleMaintenances;
/**
* @ORM\OneToMany(targetEntity=TransportVehicleFuelTracking::class, mappedBy="establishment")
*/
private $transportVehicleFuelTrackings;
/**
* @ORM\OneToMany(targetEntity=TransportZone::class, mappedBy="establishment")
*/
private $transportZones;
/**
* @ORM\OneToMany(targetEntity=TransportZoneCheckPoint::class, mappedBy="establishment")
*/
private $transportZoneCheckPoints;
/**
* @ORM\OneToMany(targetEntity=RegistrationTransportCheckpoint::class, mappedBy="establishment")
*/
private $registrationTransportCheckpoints;
/**
* @ORM\OneToMany(targetEntity=SettingDocumentToProvide::class, mappedBy="establishment")
*/
private $settingDocumentToProvides;
/**
* @ORM\OneToMany(targetEntity=SettingMedicalHistory::class, mappedBy="establishment")
*/
private $settingMedicalHistories;
/**
* @ORM\OneToMany(targetEntity=CanteenUtensil::class, mappedBy="establishment")
*/
private $canteenUtensils;
/**
* @ORM\OneToMany(targetEntity=CanteenStockMovement::class, mappedBy="establishment")
*/
private $canteenStockMovements;
/**
* @ORM\OneToMany(targetEntity=CanteenDish::class, mappedBy="establishment")
*/
private $canteenDishes;
/**
* @ORM\OneToMany(targetEntity=CanteenTime::class, mappedBy="establishment")
*/
private $canteenTimes;
/**
* @ORM\OneToMany(targetEntity=CanteenMenu::class, mappedBy="establishment")
*/
private $canteenMenus;
/**
* @ORM\OneToMany(targetEntity=CanteenMenuItem::class, mappedBy="establishment")
*/
private $canteenMenuItems;
/**
* @ORM\OneToMany(targetEntity=RegistrationDiet::class, mappedBy="establishment")
*/
private $registrationDiets;
/**
* @ORM\OneToMany(targetEntity=SchoolAbsenceAndDelay::class, mappedBy="establishment")
*/
private $schoolAbsenceAndDelays;
/**
* @ORM\OneToMany(targetEntity=SchoolAbsenceAndDelayNotification::class, mappedBy="establishment")
*/
private $schoolAbsenceAndDelayNotifications;
/**
* @ORM\OneToMany(targetEntity=SchoolAbsenceAndDelayNotificationLine::class, mappedBy="establishment")
*/
private $schoolAbsenceAndDelayNotificationLines;
/**
* @ORM\OneToMany(targetEntity=SchoolAbsenceAndDelaySetting::class, mappedBy="establishment")
*/
private $schoolAbsenceAndDelaySettings;
/**
* @ORM\OneToMany(targetEntity=SchoolAbsenceAndDelayReportCardNotification::class, mappedBy="establishment")
*/
private $schoolAbsenceAndDelayReportCardNotifications;
/**
* @ORM\OneToMany(targetEntity=SchoolAbsenceAndDelayReportCardNotificationLine::class, mappedBy="establishment")
*/
private $schoolAbsenceAndDelayReportCardNotificationLines;
/**
* @ORM\OneToMany(targetEntity=SettingLearningDifficulty::class, mappedBy="establishment")
*/
private $settingLearningDifficulties;
/**
* @ORM\ManyToMany(targetEntity=User::class, mappedBy="establishments")
*/
private $accessUsers;
/**
* @ORM\OneToMany(targetEntity=RhStatut::class, mappedBy="establishment")
*/
private $rhStatuts;
/**
* @ORM\OneToMany(targetEntity=CommunicationPredefinedMessage::class, mappedBy="establishment")
*/
private $communicationPredefinedMessages;
/**
* @ORM\OneToMany(targetEntity=SchoolTeacher::class, mappedBy="establishment")
*/
private $schoolTeachers;
/**
* @ORM\OneToMany(targetEntity=StockProduct::class, mappedBy="establishment")
*/
private $stockProducts;
/**
* @ORM\OneToMany(targetEntity=StockKitCategory::class, mappedBy="establishment")
*/
private $stockKitCategories;
/**
* @ORM\OneToMany(targetEntity=StockKitProduct::class, mappedBy="establishment")
*/
private $stockKitProducts;
/**
* @ORM\OneToMany(targetEntity=StockProductEntry::class, mappedBy="establishment")
*/
private $stockProductEntries;
/**
* @ORM\OneToMany(targetEntity=StockProductEntryLine::class, mappedBy="establishment")
*/
private $stockProductEntryLines;
/**
* @ORM\OneToMany(targetEntity=StockProviderKitEntry::class, mappedBy="establishment")
*/
private $stockProviderKitEntries;
/**
* @ORM\OneToMany(targetEntity=StockProviderKitEntryLine::class, mappedBy="establishment")
*/
private $stockProviderKitEntryLines;
/**
* @ORM\OneToMany(targetEntity=StockStudentKitEntry::class, mappedBy="establishment")
*/
private $stockStudentKitEntries;
/**
* @ORM\OneToMany(targetEntity=StockStudentKitEntryLine::class, mappedBy="establishment")
*/
private $stockStudentKitEntryLines;
/**
* @ORM\OneToMany(targetEntity=StockKitOut::class, mappedBy="establishment")
*/
private $stockKitOuts;
/**
* @ORM\OneToMany(targetEntity=StockKitOutLine::class, mappedBy="establishment")
*/
private $stockKitOutLines;
/**
* @ORM\OneToMany(targetEntity=StockProductOut::class, mappedBy="establishment")
*/
private $stockProductOuts;
/**
* @ORM\Column(type="string", length=128)
*/
private $sms_sender;
/**
* @ORM\Column(type="string", length=128)
*/
private $sms_login;
/**
* @ORM\Column(type="string", length=128)
*/
private $sms_password;
/**
* @ORM\Column(type="string", length=128)
*/
private $oci_sms_sender;
/**
* @ORM\Column(type="string", length=128)
*/
private $sms_gateway;
/**
* @ORM\OneToMany(targetEntity=XlsImportation::class, mappedBy="establishment")
*/
private $xlsImportations;
/**
* @ORM\OneToMany(targetEntity=AccountingCredit::class, mappedBy="establishment")
*/
private $accountingCredits;
/**
* @ORM\OneToMany(targetEntity=AccountingCreditLine::class, mappedBy="establishment")
*/
private $accountingCreditLines;
/**
* @ORM\OneToMany(targetEntity=SchoolAverage::class, mappedBy="establishment")
*/
private $schoolAverages;
/**
* @ORM\OneToMany(targetEntity=SchoolStudentAverage::class, mappedBy="establishment")
*/
private $schoolStudentAverages;
/**
* @ORM\OneToMany(targetEntity=SchoolCertificate::class, mappedBy="establishment")
*/
private $schoolCertificates;
/**
* @ORM\OneToMany(targetEntity=SchoolCertificateLine::class, mappedBy="establishment")
*/
private $schoolCertificateLines;
/**
* @ORM\OneToMany(targetEntity=NurseryTimeSheet::class, mappedBy="establishment")
*/
private $nurseryTimeSheets;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $stamp;
/**
* NOTE: This is not a mapped field of entity metadata, just a simple property.
*
* @Vich\UploadableField(mapping="establishment", fileNameProperty="stamp")
*
* @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 $stampFile;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $badge_color;
/**
* @ORM\OneToMany(targetEntity=SettingRoom::class, mappedBy="establishment")
*/
private $settingRooms;
/**
* @ORM\OneToMany(targetEntity=SettingTimeTable::class, mappedBy="establishment")
*/
private $settingTimeTables;
/**
* @ORM\OneToMany(targetEntity=SchoolWorkingTime::class, mappedBy="establishment")
*/
private $schoolWorkingTimes;
/**
* @ORM\OneToMany(targetEntity=SchoolWorkingTimeHourLesson::class, mappedBy="establishment")
*/
private $schoolWorkingTimeHourLessons;
/**
* @ORM\OneToMany(targetEntity=MobileParentAppAccount::class, mappedBy="establishment")
*/
private $mobileParentAppAccounts;
/**
* @ORM\OneToMany(targetEntity=FoundingNotification::class, mappedBy="establishment")
*/
private $foundingNotifications;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $sms_bank_payment;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $sms_recovery;
/**
* @ORM\OneToMany(targetEntity=EquivalentMatter::class, mappedBy="establishment")
*/
private $equivalentMatters;
/**
* @ORM\OneToMany(targetEntity=SchoolTeacherCallSheet::class, mappedBy="establishment")
*/
private $schoolTeacherCallSheets;
/**
* @ORM\OneToMany(targetEntity=SchoolTeacherCallSheetLine::class, mappedBy="establishment")
*/
private $schoolTeacherCallSheetLines;
/**
* @ORM\OneToMany(targetEntity=SchoolTeacherMatterClassroom::class, mappedBy="establishment")
*/
private $schoolTeacherMatterClassrooms;
/**
* @ORM\OneToMany(targetEntity=RhSalarySalaryAccessory::class, mappedBy="establishment")
*/
private $rhSalarySalaryAccessories;
/**
* @ORM\OneToMany(targetEntity=RhSalaryPaySlipPayment::class, mappedBy="establishment")
*/
private $rhSalaryPaySlipPayments;
/**
* @ORM\OneToMany(targetEntity=RhSalaryContract::class, mappedBy="establishment")
*/
private $rhSalaryContracts;
/**
* @ORM\OneToMany(targetEntity=RhSalaryContractItem::class, mappedBy="establishment")
*/
private $rhSalaryContractItems;
/**
* @ORM\OneToMany(targetEntity=SchoolTeacherTimeSheet::class, mappedBy="establishment")
*/
private $schoolTeacherTimeSheets;
/**
* @ORM\OneToMany(targetEntity=AccountingExpenseCategory::class, mappedBy="establishment")
*/
private $accountingExpenseCategories;
/**
* @ORM\OneToMany(targetEntity=SchoolAssessment::class, mappedBy="establishment")
*/
private $schoolAssessments;
/**
* @ORM\OneToMany(targetEntity=RhSalaryCredit::class, mappedBy="establishment")
*/
private $rhSalaryCredits;
/**
* @ORM\OneToMany(targetEntity=RhSalaryCreditShedul::class, mappedBy="establishment")
*/
private $rhSalaryCreditSheduls;
/**
* @ORM\ManyToOne(targetEntity=Establishment::class, inversedBy="childEstablishments")
*/
private $parent;
/**
* @ORM\OneToMany(targetEntity=Establishment::class, mappedBy="parent")
*/
private $childEstablishments;
/**
* @ORM\OneToMany(targetEntity=SettingFeeProviderDistribution::class, mappedBy="establishment")
*/
private $settingFeeProviderDistributions;
/**
* @ORM\OneToMany(targetEntity=AccountingChequeTracking::class, mappedBy="establishment")
*/
private $accountingChequeTrackings;
/**
* @ORM\OneToMany(targetEntity=AccountingChequeTrackingLine::class, mappedBy="establishment")
*/
private $accountingChequeTrackingLines;
/**
* @ORM\Column(type="boolean")
*/
private $is_send_absence_sms;
/**
* @ORM\Column(type="string", length=128, nullable=true)
*/
private $wave_api_location;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $wave_api_store_merchant_id;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $wave_api_reinbursement_code;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
private $wave_api_setup_number;
/**
* @ORM\Column(type="string", length=10, nullable=true)
*/
private $wave_api_code_secret;
/**
* @ORM\OneToMany(targetEntity=SalaryBandScale::class, mappedBy="establishment")
*/
private $salaryBandScales;
/**
* @ORM\OneToMany(targetEntity=TaxReductionShedule::class, mappedBy="establishment")
*/
private $taxReductionShedules;
/**
* @ORM\OneToMany(targetEntity=LogOperation::class, mappedBy="establishment")
*/
private $logOperations;
/**
* @ORM\OneToMany(targetEntity=SchoolReportCardAbsence::class, mappedBy="establishment")
*/
private $schoolReportCardAbsences;
/**
* @ORM\OneToMany(targetEntity=WavePayment::class, mappedBy="establishment")
*/
private $wavePayments;
/**
* @ORM\OneToMany(targetEntity=ToxicologicalTestResult::class, mappedBy="establishment")
*/
private $toxicologicalTestResults;
/**
* @ORM\OneToMany(targetEntity=ToxicologicalTestResultLine::class, mappedBy="establishment")
*/
private $toxicologicalTestResultLines;
/**
* @ORM\OneToMany(targetEntity=ToxicologicalTestLaboratory::class, mappedBy="establishment")
*/
private $toxicologicalTestLaboratories;
/**
* @ORM\OneToMany(targetEntity=SchoolTeacherAbsence::class, mappedBy="establishment")
*/
private $schoolTeacherAbsences;
/**
* @ORM\OneToMany(targetEntity=GescotiContribution::class, mappedBy="establishment")
*/
private $gescotiContributions;
public function __construct()
{
$this->is_send_absence_sms = false;
$this->users = new ArrayCollection();
$this->rhJobs = new ArrayCollection();
$this->rhDepartments = new ArrayCollection();
$this->rhSalaries = new ArrayCollection();
$this->rhPaySlips = new ArrayCollection();
$this->rhRetainedItems = new ArrayCollection();
$this->rhTaxableItems = new ArrayCollection();
$this->rhNonTaxableItems = new ArrayCollection();
$this->rhSalaryPaySlips = new ArrayCollection();
$this->rhPaySlipRetainedItems = new ArrayCollection();
$this->rhPaySlipTaxableItems = new ArrayCollection();
$this->rhPaySlipNonTaxableItems = new ArrayCollection();
$this->settingCycles = new ArrayCollection();
$this->settingLevels = new ArrayCollection();
$this->settingFaculties = new ArrayCollection();
$this->settingRounds = new ArrayCollection();
$this->settingClassrooms = new ArrayCollection();
$this->registrationStudents = new ArrayCollection();
$this->registrationStudentRegistrations = new ArrayCollection();
$this->settingFees = new ArrayCollection();
$this->settingFeeProviders = new ArrayCollection();
$this->settingFeeSheduls = new ArrayCollection();
$this->accountingStudentRegistrationFees = new ArrayCollection();
$this->accountingStudentRegistrationFeeSheduls = new ArrayCollection();
$this->treasuryCheckouts = new ArrayCollection();
$this->treasuryCashRegisters = new ArrayCollection();
$this->treasuryCashMovements = new ArrayCollection();
$this->accountingStudentRegistrationFeeShedulPayments = new ArrayCollection();
$this->accountingExpenses = new ArrayCollection();
$this->schoolYearPeriodes = new ArrayCollection();
$this->schoolMatterTypes = new ArrayCollection();
$this->schoolMatters = new ArrayCollection();
$this->schoolNoteAppreciations = new ArrayCollection();
$this->schoolSubMatters = new ArrayCollection();
$this->schoolReportCards = new ArrayCollection();
$this->schoolAverageReportCards = new ArrayCollection();
$this->schoolAssessmentByClasses = new ArrayCollection();
$this->schoolAssessmentByLevels = new ArrayCollection();
$this->schoolAssessmentByClassByMatters = new ArrayCollection();
$this->schoolAssessmentByLevelByMatters = new ArrayCollection();
$this->reportCards = new ArrayCollection();
$this->accountingStudentRegistrationPayments = new ArrayCollection();
$this->registrationClassChanges = new ArrayCollection();
$this->registrationStudentDowngrades = new ArrayCollection();
$this->registrationStudentDowngradeLines = new ArrayCollection();
$this->registrationStudentAbandonments = new ArrayCollection();
$this->registrationStudentAbandonmentLines = new ArrayCollection();
$this->treasuryPayments = new ArrayCollection();
$this->registrationStudentPreRegistrations = new ArrayCollection();
$this->entreTestReportCards = new ArrayCollection();
$this->preRegistrationEntreTestReportCards = new ArrayCollection();
$this->matterAveragePreRegistrationEntryTests = new ArrayCollection();
$this->communicationMessages = new ArrayCollection();
$this->transportVehicles = new ArrayCollection();
$this->transportVehicleModels = new ArrayCollection();
$this->transportVehicleAdministrativeDocuments = new ArrayCollection();
$this->transportVehicleMechanicalPieces = new ArrayCollection();
$this->transportVehicleMaintenances = new ArrayCollection();
$this->transportVehicleFuelTrackings = new ArrayCollection();
$this->transportZones = new ArrayCollection();
$this->transportZoneCheckPoints = new ArrayCollection();
$this->registrationTransportCheckpoints = new ArrayCollection();
$this->settingDocumentToProvides = new ArrayCollection();
$this->settingMedicalHistories = new ArrayCollection();
$this->canteenUtensils = new ArrayCollection();
$this->canteenStockMovements = new ArrayCollection();
$this->canteenDishes = new ArrayCollection();
$this->canteenTimes = new ArrayCollection();
$this->canteenMenus = new ArrayCollection();
$this->canteenMenuItems = new ArrayCollection();
$this->registrationDiets = new ArrayCollection();
$this->schoolAbsenceAndDelays = new ArrayCollection();
$this->schoolAbsenceAndDelayNotifications = new ArrayCollection();
$this->schoolAbsenceAndDelayNotificationLines = new ArrayCollection();
$this->schoolAbsenceAndDelaySettings = new ArrayCollection();
$this->schoolAbsenceAndDelayReportCardNotifications = new ArrayCollection();
$this->schoolAbsenceAndDelayReportCardNotificationLines = new ArrayCollection();
$this->settingLearningDifficulties = new ArrayCollection();
$this->accessUsers = new ArrayCollection();
$this->rhStatuts = new ArrayCollection();
$this->communicationPredefinedMessages = new ArrayCollection();
$this->schoolTeachers = new ArrayCollection();
$this->stockProducts = new ArrayCollection();
$this->stockKitCategories = new ArrayCollection();
$this->stockKitProducts = new ArrayCollection();
$this->stockProductEntries = new ArrayCollection();
$this->stockProductEntryLines = new ArrayCollection();
$this->stockProviderKitEntries = new ArrayCollection();
$this->stockProviderKitEntryLines = new ArrayCollection();
$this->stockStudentKitEntries = new ArrayCollection();
$this->stockStudentKitEntryLines = new ArrayCollection();
$this->stockKitOuts = new ArrayCollection();
$this->stockKitOutLines = new ArrayCollection();
$this->stockProductOuts = new ArrayCollection();
$this->xlsImportations = new ArrayCollection();
$this->accountingCredits = new ArrayCollection();
$this->accountingCreditLines = new ArrayCollection();
$this->schoolAverages = new ArrayCollection();
$this->schoolStudentAverages = new ArrayCollection();
$this->schoolCertificates = new ArrayCollection();
$this->schoolCertificateLines = new ArrayCollection();
$this->nurseryTimeSheets = new ArrayCollection();
$this->settingRooms = new ArrayCollection();
$this->settingTimeTables = new ArrayCollection();
$this->schoolWorkingTimes = new ArrayCollection();
$this->schoolWorkingTimeHourLessons = new ArrayCollection();
$this->mobileParentAppAccounts = new ArrayCollection();
$this->foundingNotifications = new ArrayCollection();
$this->equivalentMatters = new ArrayCollection();
$this->schoolTeacherCallSheets = new ArrayCollection();
$this->schoolTeacherCallSheetLines = new ArrayCollection();
$this->schoolTeacherMatterClassrooms = new ArrayCollection();
$this->rhSalarySalaryAccessories = new ArrayCollection();
$this->rhSalaryPaySlipPayments = new ArrayCollection();
$this->rhSalaryContracts = new ArrayCollection();
$this->rhSalaryContractItems = new ArrayCollection();
$this->schoolTeacherTimeSheets = new ArrayCollection();
$this->accountingExpenseCategories = new ArrayCollection();
$this->schoolAssessments = new ArrayCollection();
$this->rhSalaryCredits = new ArrayCollection();
$this->rhSalaryCreditSheduls = new ArrayCollection();
$this->childEstablishments = new ArrayCollection();
$this->settingFeeProviderDistributions = new ArrayCollection();
$this->accountingChequeTrackings = new ArrayCollection();
$this->accountingChequeTrackingLines = new ArrayCollection();
$this->salaryBandScales = new ArrayCollection();
$this->taxReductionShedules = new ArrayCollection();
$this->logOperations = new ArrayCollection();
$this->schoolReportCardAbsences = new ArrayCollection();
$this->wavePayments = new ArrayCollection();
$this->toxicologicalTestResults = new ArrayCollection();
$this->toxicologicalTestResultLines = new ArrayCollection();
$this->toxicologicalTestLaboratories = new ArrayCollection();
$this->schoolTeacherAbsences = new ArrayCollection();
$this->gescotiContributions = new ArrayCollection();
}
public function __toString(){
return $this->name;
}
/**
* 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;
}
/**
* 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 $stampFile
*/
public function setStampFile(?File $stampFile = null): void
{
$this->stampFile = $stampFile;
if (null !== $stampFile) {
// 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 getStampFile(): ?File
{
return $this->stampFile;
}
public function getId(): ?int
{
return $this->id;
}
public function getEstablishmentGroup(): ?EstablishmentGroup
{
return $this->establishmentGroup;
}
public function setEstablishmentGroup(?EstablishmentGroup $establishmentGroup): self
{
$this->establishmentGroup = $establishmentGroup;
return $this;
}
/**
* @return Collection|User[]
*/
public function getUsers(): Collection
{
return $this->users;
}
public function addUser(User $user): self
{
if (!$this->users->contains($user)) {
$this->users[] = $user;
$user->setEstablishment($this);
}
return $this;
}
public function removeUser(User $user): self
{
if ($this->users->removeElement($user)) {
// set the owning side to null (unless already changed)
if ($user->getEstablishment() === $this) {
$user->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhJob[]
*/
public function getRhJobs(): Collection
{
return $this->rhJobs;
}
public function addRhJob(RhJob $rhJob): self
{
if (!$this->rhJobs->contains($rhJob)) {
$this->rhJobs[] = $rhJob;
$rhJob->setEstablishment($this);
}
return $this;
}
public function removeRhJob(RhJob $rhJob): self
{
if ($this->rhJobs->removeElement($rhJob)) {
// set the owning side to null (unless already changed)
if ($rhJob->getEstablishment() === $this) {
$rhJob->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhDepartment[]
*/
public function getRhDepartments(): Collection
{
return $this->rhDepartments;
}
public function addRhDepartment(RhDepartment $rhDepartment): self
{
if (!$this->rhDepartments->contains($rhDepartment)) {
$this->rhDepartments[] = $rhDepartment;
$rhDepartment->setEstablishment($this);
}
return $this;
}
public function removeRhDepartment(RhDepartment $rhDepartment): self
{
if ($this->rhDepartments->removeElement($rhDepartment)) {
// set the owning side to null (unless already changed)
if ($rhDepartment->getEstablishment() === $this) {
$rhDepartment->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhSalary[]
*/
public function getRhSalaries(): Collection
{
return $this->rhSalaries;
}
public function addRhSalary(RhSalary $rhSalary): self
{
if (!$this->rhSalaries->contains($rhSalary)) {
$this->rhSalaries[] = $rhSalary;
$rhSalary->setEstablishment($this);
}
return $this;
}
public function removeRhSalary(RhSalary $rhSalary): self
{
if ($this->rhSalaries->removeElement($rhSalary)) {
// set the owning side to null (unless already changed)
if ($rhSalary->getEstablishment() === $this) {
$rhSalary->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhPaySlip[]
*/
public function getRhPaySlips(): Collection
{
return $this->rhPaySlips;
}
public function addRhPaySlip(RhPaySlip $rhPaySlip): self
{
if (!$this->rhPaySlips->contains($rhPaySlip)) {
$this->rhPaySlips[] = $rhPaySlip;
$rhPaySlip->setEstablishment($this);
}
return $this;
}
public function removeRhPaySlip(RhPaySlip $rhPaySlip): self
{
if ($this->rhPaySlips->removeElement($rhPaySlip)) {
// set the owning side to null (unless already changed)
if ($rhPaySlip->getEstablishment() === $this) {
$rhPaySlip->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhRetainedItem[]
*/
public function getRhRetainedItems(): Collection
{
return $this->rhRetainedItems;
}
public function addRhRetainedItem(RhRetainedItem $rhRetainedItem): self
{
if (!$this->rhRetainedItems->contains($rhRetainedItem)) {
$this->rhRetainedItems[] = $rhRetainedItem;
$rhRetainedItem->setEstablishment($this);
}
return $this;
}
public function removeRhRetainedItem(RhRetainedItem $rhRetainedItem): self
{
if ($this->rhRetainedItems->removeElement($rhRetainedItem)) {
// set the owning side to null (unless already changed)
if ($rhRetainedItem->getEstablishment() === $this) {
$rhRetainedItem->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhTaxableItem[]
*/
public function getRhTaxableItems(): Collection
{
return $this->rhTaxableItems;
}
public function addRhTaxableItem(RhTaxableItem $rhTaxableItem): self
{
if (!$this->rhTaxableItems->contains($rhTaxableItem)) {
$this->rhTaxableItems[] = $rhTaxableItem;
$rhTaxableItem->setEstablishment($this);
}
return $this;
}
public function removeRhTaxableItem(RhTaxableItem $rhTaxableItem): self
{
if ($this->rhTaxableItems->removeElement($rhTaxableItem)) {
// set the owning side to null (unless already changed)
if ($rhTaxableItem->getEstablishment() === $this) {
$rhTaxableItem->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhNonTaxableItem[]
*/
public function getRhNonTaxableItems(): Collection
{
return $this->rhNonTaxableItems;
}
public function addRhNonTaxableItem(RhNonTaxableItem $rhNonTaxableItem): self
{
if (!$this->rhNonTaxableItems->contains($rhNonTaxableItem)) {
$this->rhNonTaxableItems[] = $rhNonTaxableItem;
$rhNonTaxableItem->setEstablishment($this);
}
return $this;
}
public function removeRhNonTaxableItem(RhNonTaxableItem $rhNonTaxableItem): self
{
if ($this->rhNonTaxableItems->removeElement($rhNonTaxableItem)) {
// set the owning side to null (unless already changed)
if ($rhNonTaxableItem->getEstablishment() === $this) {
$rhNonTaxableItem->setEstablishment(null);
}
}
return $this;
}
public function getCode(): ?string
{
return $this->code;
}
public function setCode(string $code): self
{
$this->code = $code;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
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;
}
/**
* @return Collection|RhSalaryPaySlip[]
*/
public function getRhSalaryPaySlips(): Collection
{
return $this->rhSalaryPaySlips;
}
public function addRhSalaryPaySlip(RhSalaryPaySlip $rhSalaryPaySlip): self
{
if (!$this->rhSalaryPaySlips->contains($rhSalaryPaySlip)) {
$this->rhSalaryPaySlips[] = $rhSalaryPaySlip;
$rhSalaryPaySlip->setEstablishment($this);
}
return $this;
}
public function removeRhSalaryPaySlip(RhSalaryPaySlip $rhSalaryPaySlip): self
{
if ($this->rhSalaryPaySlips->removeElement($rhSalaryPaySlip)) {
// set the owning side to null (unless already changed)
if ($rhSalaryPaySlip->getEstablishment() === $this) {
$rhSalaryPaySlip->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhPaySlipRetainedItem[]
*/
public function getRhPaySlipRetainedItems(): Collection
{
return $this->rhPaySlipRetainedItems;
}
public function addRhPaySlipRetainedItem(RhPaySlipRetainedItem $rhPaySlipRetainedItem): self
{
if (!$this->rhPaySlipRetainedItems->contains($rhPaySlipRetainedItem)) {
$this->rhPaySlipRetainedItems[] = $rhPaySlipRetainedItem;
$rhPaySlipRetainedItem->setEstablishment($this);
}
return $this;
}
public function removeRhPaySlipRetainedItem(RhPaySlipRetainedItem $rhPaySlipRetainedItem): self
{
if ($this->rhPaySlipRetainedItems->removeElement($rhPaySlipRetainedItem)) {
// set the owning side to null (unless already changed)
if ($rhPaySlipRetainedItem->getEstablishment() === $this) {
$rhPaySlipRetainedItem->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhPaySlipTaxableItem[]
*/
public function getRhPaySlipTaxableItems(): Collection
{
return $this->rhPaySlipTaxableItems;
}
public function addRhPaySlipTaxableItem(RhPaySlipTaxableItem $rhPaySlipTaxableItem): self
{
if (!$this->rhPaySlipTaxableItems->contains($rhPaySlipTaxableItem)) {
$this->rhPaySlipTaxableItems[] = $rhPaySlipTaxableItem;
$rhPaySlipTaxableItem->setEstablishment($this);
}
return $this;
}
public function removeRhPaySlipTaxableItem(RhPaySlipTaxableItem $rhPaySlipTaxableItem): self
{
if ($this->rhPaySlipTaxableItems->removeElement($rhPaySlipTaxableItem)) {
// set the owning side to null (unless already changed)
if ($rhPaySlipTaxableItem->getEstablishment() === $this) {
$rhPaySlipTaxableItem->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhPaySlipNonTaxableItem[]
*/
public function getRhPaySlipNonTaxableItems(): Collection
{
return $this->rhPaySlipNonTaxableItems;
}
public function addRhPaySlipNonTaxableItem(RhPaySlipNonTaxableItem $rhPaySlipNonTaxableItem): self
{
if (!$this->rhPaySlipNonTaxableItems->contains($rhPaySlipNonTaxableItem)) {
$this->rhPaySlipNonTaxableItems[] = $rhPaySlipNonTaxableItem;
$rhPaySlipNonTaxableItem->setEstablishment($this);
}
return $this;
}
public function removeRhPaySlipNonTaxableItem(RhPaySlipNonTaxableItem $rhPaySlipNonTaxableItem): self
{
if ($this->rhPaySlipNonTaxableItems->removeElement($rhPaySlipNonTaxableItem)) {
// set the owning side to null (unless already changed)
if ($rhPaySlipNonTaxableItem->getEstablishment() === $this) {
$rhPaySlipNonTaxableItem->setEstablishment(null);
}
}
return $this;
}
public function getPhoneNumber(): ?string
{
return $this->phone_number;
}
public function setPhoneNumber(string $phone_number): self
{
$this->phone_number = $phone_number;
return $this;
}
public function getMobileNumber(): ?string
{
return $this->mobile_number;
}
public function setMobileNumber(?string $mobile_number): self
{
$this->mobile_number = $mobile_number;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getWebsite(): ?string
{
return $this->website;
}
public function setWebsite(?string $website): self
{
$this->website = $website;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function getLocation(): ?string
{
return $this->location;
}
public function setLocation(?string $location): self
{
$this->location = $location;
return $this;
}
public function getUnderSupervision(): ?string
{
return $this->under_supervision;
}
public function setUnderSupervision(?string $under_supervision): self
{
$this->under_supervision = $under_supervision;
return $this;
}
/**
* @return Collection|SettingCycle[]
*/
public function getSettingCycles(): Collection
{
return $this->settingCycles;
}
public function addSettingCycle(SettingCycle $settingCycle): self
{
if (!$this->settingCycles->contains($settingCycle)) {
$this->settingCycles[] = $settingCycle;
$settingCycle->setEstablishment($this);
}
return $this;
}
public function removeSettingCycle(SettingCycle $settingCycle): self
{
if ($this->settingCycles->removeElement($settingCycle)) {
// set the owning side to null (unless already changed)
if ($settingCycle->getEstablishment() === $this) {
$settingCycle->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingLevel[]
*/
public function getSettingLevels(): Collection
{
return $this->settingLevels;
}
public function addSettingLevel(SettingLevel $settingLevel): self
{
if (!$this->settingLevels->contains($settingLevel)) {
$this->settingLevels[] = $settingLevel;
$settingLevel->setEstablishment($this);
}
return $this;
}
public function removeSettingLevel(SettingLevel $settingLevel): self
{
if ($this->settingLevels->removeElement($settingLevel)) {
// set the owning side to null (unless already changed)
if ($settingLevel->getEstablishment() === $this) {
$settingLevel->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingFaculty[]
*/
public function getSettingFaculties(): Collection
{
return $this->settingFaculties;
}
public function addSettingFaculty(SettingFaculty $settingFaculty): self
{
if (!$this->settingFaculties->contains($settingFaculty)) {
$this->settingFaculties[] = $settingFaculty;
$settingFaculty->setEstablishment($this);
}
return $this;
}
public function removeSettingFaculty(SettingFaculty $settingFaculty): self
{
if ($this->settingFaculties->removeElement($settingFaculty)) {
// set the owning side to null (unless already changed)
if ($settingFaculty->getEstablishment() === $this) {
$settingFaculty->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingRound[]
*/
public function getSettingRounds(): Collection
{
return $this->settingRounds;
}
public function addSettingRound(SettingRound $settingRound): self
{
if (!$this->settingRounds->contains($settingRound)) {
$this->settingRounds[] = $settingRound;
$settingRound->setEstablishment($this);
}
return $this;
}
public function removeSettingRound(SettingRound $settingRound): self
{
if ($this->settingRounds->removeElement($settingRound)) {
// set the owning side to null (unless already changed)
if ($settingRound->getEstablishment() === $this) {
$settingRound->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingClassroom[]
*/
public function getSettingClassrooms(): Collection
{
return $this->settingClassrooms;
}
public function addSettingClassroom(SettingClassroom $settingClassroom): self
{
if (!$this->settingClassrooms->contains($settingClassroom)) {
$this->settingClassrooms[] = $settingClassroom;
$settingClassroom->setEstablishment($this);
}
return $this;
}
public function removeSettingClassroom(SettingClassroom $settingClassroom): self
{
if ($this->settingClassrooms->removeElement($settingClassroom)) {
// set the owning side to null (unless already changed)
if ($settingClassroom->getEstablishment() === $this) {
$settingClassroom->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationStudent[]
*/
public function getRegistrationStudents(): Collection
{
return $this->registrationStudents;
}
public function addRegistrationStudent(RegistrationStudent $registrationStudent): self
{
if (!$this->registrationStudents->contains($registrationStudent)) {
$this->registrationStudents[] = $registrationStudent;
$registrationStudent->setEstablishment($this);
}
return $this;
}
public function removeRegistrationStudent(RegistrationStudent $registrationStudent): self
{
if ($this->registrationStudents->removeElement($registrationStudent)) {
// set the owning side to null (unless already changed)
if ($registrationStudent->getEstablishment() === $this) {
$registrationStudent->setEstablishment(null);
}
}
return $this;
}
/**
* @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->setEstablishment($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->getEstablishment() === $this) {
$registrationStudentRegistration->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingFee[]
*/
public function getSettingFees(): Collection
{
return $this->settingFees;
}
public function addSettingFee(SettingFee $settingFee): self
{
if (!$this->settingFees->contains($settingFee)) {
$this->settingFees[] = $settingFee;
$settingFee->setEstablishment($this);
}
return $this;
}
public function removeSettingFee(SettingFee $settingFee): self
{
if ($this->settingFees->removeElement($settingFee)) {
// set the owning side to null (unless already changed)
if ($settingFee->getEstablishment() === $this) {
$settingFee->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingFeeProvider[]
*/
public function getSettingFeeProviders(): Collection
{
return $this->settingFeeProviders;
}
public function addSettingFeeProvider(SettingFeeProvider $settingFeeProvider): self
{
if (!$this->settingFeeProviders->contains($settingFeeProvider)) {
$this->settingFeeProviders[] = $settingFeeProvider;
$settingFeeProvider->setEstablishment($this);
}
return $this;
}
public function removeSettingFeeProvider(SettingFeeProvider $settingFeeProvider): self
{
if ($this->settingFeeProviders->removeElement($settingFeeProvider)) {
// set the owning side to null (unless already changed)
if ($settingFeeProvider->getEstablishment() === $this) {
$settingFeeProvider->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingFeeShedul[]
*/
public function getSettingFeeSheduls(): Collection
{
return $this->settingFeeSheduls;
}
public function addSettingFeeShedul(SettingFeeShedul $settingFeeShedul): self
{
if (!$this->settingFeeSheduls->contains($settingFeeShedul)) {
$this->settingFeeSheduls[] = $settingFeeShedul;
$settingFeeShedul->setEstablishment($this);
}
return $this;
}
public function removeSettingFeeShedul(SettingFeeShedul $settingFeeShedul): self
{
if ($this->settingFeeSheduls->removeElement($settingFeeShedul)) {
// set the owning side to null (unless already changed)
if ($settingFeeShedul->getEstablishment() === $this) {
$settingFeeShedul->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingStudentRegistrationFee[]
*/
public function getAccountingStudentRegistrationFees(): Collection
{
return $this->accountingStudentRegistrationFees;
}
public function addAccountingStudentRegistrationFee(AccountingStudentRegistrationFee $accountingStudentRegistrationFee): self
{
if (!$this->accountingStudentRegistrationFees->contains($accountingStudentRegistrationFee)) {
$this->accountingStudentRegistrationFees[] = $accountingStudentRegistrationFee;
$accountingStudentRegistrationFee->setEstablishment($this);
}
return $this;
}
public function removeAccountingStudentRegistrationFee(AccountingStudentRegistrationFee $accountingStudentRegistrationFee): self
{
if ($this->accountingStudentRegistrationFees->removeElement($accountingStudentRegistrationFee)) {
// set the owning side to null (unless already changed)
if ($accountingStudentRegistrationFee->getEstablishment() === $this) {
$accountingStudentRegistrationFee->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingStudentRegistrationFeeShedul[]
*/
public function getAccountingStudentRegistrationFeeSheduls(): Collection
{
return $this->accountingStudentRegistrationFeeSheduls;
}
public function addAccountingStudentRegistrationFeeShedul(AccountingStudentRegistrationFeeShedul $accountingStudentRegistrationFeeShedul): self
{
if (!$this->accountingStudentRegistrationFeeSheduls->contains($accountingStudentRegistrationFeeShedul)) {
$this->accountingStudentRegistrationFeeSheduls[] = $accountingStudentRegistrationFeeShedul;
$accountingStudentRegistrationFeeShedul->setEstablishment($this);
}
return $this;
}
public function removeAccountingStudentRegistrationFeeShedul(AccountingStudentRegistrationFeeShedul $accountingStudentRegistrationFeeShedul): self
{
if ($this->accountingStudentRegistrationFeeSheduls->removeElement($accountingStudentRegistrationFeeShedul)) {
// set the owning side to null (unless already changed)
if ($accountingStudentRegistrationFeeShedul->getEstablishment() === $this) {
$accountingStudentRegistrationFeeShedul->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TreasuryCheckout[]
*/
public function getTreasuryCheckouts(): Collection
{
return $this->treasuryCheckouts;
}
public function addTreasuryCheckout(TreasuryCheckout $treasuryCheckout): self
{
if (!$this->treasuryCheckouts->contains($treasuryCheckout)) {
$this->treasuryCheckouts[] = $treasuryCheckout;
$treasuryCheckout->setEstablishment($this);
}
return $this;
}
public function removeTreasuryCheckout(TreasuryCheckout $treasuryCheckout): self
{
if ($this->treasuryCheckouts->removeElement($treasuryCheckout)) {
// set the owning side to null (unless already changed)
if ($treasuryCheckout->getEstablishment() === $this) {
$treasuryCheckout->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TreasuryCashRegister[]
*/
public function getTreasuryCashRegisters(): Collection
{
return $this->treasuryCashRegisters;
}
public function addTreasuryCashRegister(TreasuryCashRegister $treasuryCashRegister): self
{
if (!$this->treasuryCashRegisters->contains($treasuryCashRegister)) {
$this->treasuryCashRegisters[] = $treasuryCashRegister;
$treasuryCashRegister->setEstablishment($this);
}
return $this;
}
public function removeTreasuryCashRegister(TreasuryCashRegister $treasuryCashRegister): self
{
if ($this->treasuryCashRegisters->removeElement($treasuryCashRegister)) {
// set the owning side to null (unless already changed)
if ($treasuryCashRegister->getEstablishment() === $this) {
$treasuryCashRegister->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TreasuryCashMovement[]
*/
public function getTreasuryCashMovements(): Collection
{
return $this->treasuryCashMovements;
}
public function addTreasuryCashMovement(TreasuryCashMovement $treasuryCashMovement): self
{
if (!$this->treasuryCashMovements->contains($treasuryCashMovement)) {
$this->treasuryCashMovements[] = $treasuryCashMovement;
$treasuryCashMovement->setEstablishment($this);
}
return $this;
}
public function removeTreasuryCashMovement(TreasuryCashMovement $treasuryCashMovement): self
{
if ($this->treasuryCashMovements->removeElement($treasuryCashMovement)) {
// set the owning side to null (unless already changed)
if ($treasuryCashMovement->getEstablishment() === $this) {
$treasuryCashMovement->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingStudentRegistrationFeeShedulPayment[]
*/
public function getAccountingStudentRegistrationFeeShedulPayments(): Collection
{
return $this->accountingStudentRegistrationFeeShedulPayments;
}
public function addAccountingStudentRegistrationFeeShedulPayment(AccountingStudentRegistrationFeeShedulPayment $accountingStudentRegistrationFeeShedulPayment): self
{
if (!$this->accountingStudentRegistrationFeeShedulPayments->contains($accountingStudentRegistrationFeeShedulPayment)) {
$this->accountingStudentRegistrationFeeShedulPayments[] = $accountingStudentRegistrationFeeShedulPayment;
$accountingStudentRegistrationFeeShedulPayment->setEstablishment($this);
}
return $this;
}
public function removeAccountingStudentRegistrationFeeShedulPayment(AccountingStudentRegistrationFeeShedulPayment $accountingStudentRegistrationFeeShedulPayment): self
{
if ($this->accountingStudentRegistrationFeeShedulPayments->removeElement($accountingStudentRegistrationFeeShedulPayment)) {
// set the owning side to null (unless already changed)
if ($accountingStudentRegistrationFeeShedulPayment->getEstablishment() === $this) {
$accountingStudentRegistrationFeeShedulPayment->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingExpense[]
*/
public function getAccountingExpenses(): Collection
{
return $this->accountingExpenses;
}
public function addAccountingExpense(AccountingExpense $accountingExpense): self
{
if (!$this->accountingExpenses->contains($accountingExpense)) {
$this->accountingExpenses[] = $accountingExpense;
$accountingExpense->setEstablishment($this);
}
return $this;
}
public function removeAccountingExpense(AccountingExpense $accountingExpense): self
{
if ($this->accountingExpenses->removeElement($accountingExpense)) {
// set the owning side to null (unless already changed)
if ($accountingExpense->getEstablishment() === $this) {
$accountingExpense->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolYearPeriode[]
*/
public function getSchoolYearPeriodes(): Collection
{
return $this->schoolYearPeriodes;
}
public function addSchoolYearPeriode(SchoolYearPeriode $schoolYearPeriode): self
{
if (!$this->schoolYearPeriodes->contains($schoolYearPeriode)) {
$this->schoolYearPeriodes[] = $schoolYearPeriode;
$schoolYearPeriode->setEstablishment($this);
}
return $this;
}
public function removeSchoolYearPeriode(SchoolYearPeriode $schoolYearPeriode): self
{
if ($this->schoolYearPeriodes->removeElement($schoolYearPeriode)) {
// set the owning side to null (unless already changed)
if ($schoolYearPeriode->getEstablishment() === $this) {
$schoolYearPeriode->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolMatterType[]
*/
public function getSchoolMatterTypes(): Collection
{
return $this->schoolMatterTypes;
}
public function addSchoolMatterType(SchoolMatterType $schoolMatterType): self
{
if (!$this->schoolMatterTypes->contains($schoolMatterType)) {
$this->schoolMatterTypes[] = $schoolMatterType;
$schoolMatterType->setEstablishment($this);
}
return $this;
}
public function removeSchoolMatterType(SchoolMatterType $schoolMatterType): self
{
if ($this->schoolMatterTypes->removeElement($schoolMatterType)) {
// set the owning side to null (unless already changed)
if ($schoolMatterType->getEstablishment() === $this) {
$schoolMatterType->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolMatter[]
*/
public function getSchoolMatters(): Collection
{
return $this->schoolMatters;
}
public function addSchoolMatter(SchoolMatter $schoolMatter): self
{
if (!$this->schoolMatters->contains($schoolMatter)) {
$this->schoolMatters[] = $schoolMatter;
$schoolMatter->setEstablishment($this);
}
return $this;
}
public function removeSchoolMatter(SchoolMatter $schoolMatter): self
{
if ($this->schoolMatters->removeElement($schoolMatter)) {
// set the owning side to null (unless already changed)
if ($schoolMatter->getEstablishment() === $this) {
$schoolMatter->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolNoteAppreciation[]
*/
public function getSchoolNoteAppreciations(): Collection
{
return $this->schoolNoteAppreciations;
}
public function addSchoolNoteAppreciation(SchoolNoteAppreciation $schoolNoteAppreciation): self
{
if (!$this->schoolNoteAppreciations->contains($schoolNoteAppreciation)) {
$this->schoolNoteAppreciations[] = $schoolNoteAppreciation;
$schoolNoteAppreciation->setEstablishment($this);
}
return $this;
}
public function removeSchoolNoteAppreciation(SchoolNoteAppreciation $schoolNoteAppreciation): self
{
if ($this->schoolNoteAppreciations->removeElement($schoolNoteAppreciation)) {
// set the owning side to null (unless already changed)
if ($schoolNoteAppreciation->getEstablishment() === $this) {
$schoolNoteAppreciation->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolSubMatter[]
*/
public function getSchoolSubMatters(): Collection
{
return $this->schoolSubMatters;
}
public function addSchoolSubMatter(SchoolSubMatter $schoolSubMatter): self
{
if (!$this->schoolSubMatters->contains($schoolSubMatter)) {
$this->schoolSubMatters[] = $schoolSubMatter;
$schoolSubMatter->setEstablishment($this);
}
return $this;
}
public function removeSchoolSubMatter(SchoolSubMatter $schoolSubMatter): self
{
if ($this->schoolSubMatters->removeElement($schoolSubMatter)) {
// set the owning side to null (unless already changed)
if ($schoolSubMatter->getEstablishment() === $this) {
$schoolSubMatter->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolReportCard[]
*/
public function getSchoolReportCards(): Collection
{
return $this->schoolReportCards;
}
public function addSchoolReportCard(SchoolReportCard $schoolReportCard): self
{
if (!$this->schoolReportCards->contains($schoolReportCard)) {
$this->schoolReportCards[] = $schoolReportCard;
$schoolReportCard->setEstablishment($this);
}
return $this;
}
public function removeSchoolReportCard(SchoolReportCard $schoolReportCard): self
{
if ($this->schoolReportCards->removeElement($schoolReportCard)) {
// set the owning side to null (unless already changed)
if ($schoolReportCard->getEstablishment() === $this) {
$schoolReportCard->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAverageReportCard[]
*/
public function getSchoolAverageReportCards(): Collection
{
return $this->schoolAverageReportCards;
}
public function addSchoolAverageReportCard(SchoolAverageReportCard $schoolAverageReportCard): self
{
if (!$this->schoolAverageReportCards->contains($schoolAverageReportCard)) {
$this->schoolAverageReportCards[] = $schoolAverageReportCard;
$schoolAverageReportCard->setEstablishment($this);
}
return $this;
}
public function removeSchoolAverageReportCard(SchoolAverageReportCard $schoolAverageReportCard): self
{
if ($this->schoolAverageReportCards->removeElement($schoolAverageReportCard)) {
// set the owning side to null (unless already changed)
if ($schoolAverageReportCard->getEstablishment() === $this) {
$schoolAverageReportCard->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAssessmentByClass[]
*/
public function getSchoolAssessmentByClasses(): Collection
{
return $this->schoolAssessmentByClasses;
}
public function addSchoolAssessmentByClass(SchoolAssessmentByClass $schoolAssessmentByClass): self
{
if (!$this->schoolAssessmentByClasses->contains($schoolAssessmentByClass)) {
$this->schoolAssessmentByClasses[] = $schoolAssessmentByClass;
$schoolAssessmentByClass->setEstablishment($this);
}
return $this;
}
public function removeSchoolAssessmentByClass(SchoolAssessmentByClass $schoolAssessmentByClass): self
{
if ($this->schoolAssessmentByClasses->removeElement($schoolAssessmentByClass)) {
// set the owning side to null (unless already changed)
if ($schoolAssessmentByClass->getEstablishment() === $this) {
$schoolAssessmentByClass->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAssessmentByLevel[]
*/
public function getSchoolAssessmentByLevels(): Collection
{
return $this->schoolAssessmentByLevels;
}
public function addSchoolAssessmentByLevel(SchoolAssessmentByLevel $schoolAssessmentByLevel): self
{
if (!$this->schoolAssessmentByLevels->contains($schoolAssessmentByLevel)) {
$this->schoolAssessmentByLevels[] = $schoolAssessmentByLevel;
$schoolAssessmentByLevel->setEstablishment($this);
}
return $this;
}
public function removeSchoolAssessmentByLevel(SchoolAssessmentByLevel $schoolAssessmentByLevel): self
{
if ($this->schoolAssessmentByLevels->removeElement($schoolAssessmentByLevel)) {
// set the owning side to null (unless already changed)
if ($schoolAssessmentByLevel->getEstablishment() === $this) {
$schoolAssessmentByLevel->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAssessmentByClassByMatter[]
*/
public function getSchoolAssessmentByClassByMatters(): Collection
{
return $this->schoolAssessmentByClassByMatters;
}
public function addSchoolAssessmentByClassByMatter(SchoolAssessmentByClassByMatter $schoolAssessmentByClassByMatter): self
{
if (!$this->schoolAssessmentByClassByMatters->contains($schoolAssessmentByClassByMatter)) {
$this->schoolAssessmentByClassByMatters[] = $schoolAssessmentByClassByMatter;
$schoolAssessmentByClassByMatter->setEstablishment($this);
}
return $this;
}
public function removeSchoolAssessmentByClassByMatter(SchoolAssessmentByClassByMatter $schoolAssessmentByClassByMatter): self
{
if ($this->schoolAssessmentByClassByMatters->removeElement($schoolAssessmentByClassByMatter)) {
// set the owning side to null (unless already changed)
if ($schoolAssessmentByClassByMatter->getEstablishment() === $this) {
$schoolAssessmentByClassByMatter->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAssessmentByLevelByMatter[]
*/
public function getSchoolAssessmentByLevelByMatters(): Collection
{
return $this->schoolAssessmentByLevelByMatters;
}
public function addSchoolAssessmentByLevelByMatter(SchoolAssessmentByLevelByMatter $schoolAssessmentByLevelByMatter): self
{
if (!$this->schoolAssessmentByLevelByMatters->contains($schoolAssessmentByLevelByMatter)) {
$this->schoolAssessmentByLevelByMatters[] = $schoolAssessmentByLevelByMatter;
$schoolAssessmentByLevelByMatter->setEstablishment($this);
}
return $this;
}
public function removeSchoolAssessmentByLevelByMatter(SchoolAssessmentByLevelByMatter $schoolAssessmentByLevelByMatter): self
{
if ($this->schoolAssessmentByLevelByMatters->removeElement($schoolAssessmentByLevelByMatter)) {
// set the owning side to null (unless already changed)
if ($schoolAssessmentByLevelByMatter->getEstablishment() === $this) {
$schoolAssessmentByLevelByMatter->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|ReportCard[]
*/
public function getReportCards(): Collection
{
return $this->reportCards;
}
public function addReportCard(ReportCard $reportCard): self
{
if (!$this->reportCards->contains($reportCard)) {
$this->reportCards[] = $reportCard;
$reportCard->setEstablishment($this);
}
return $this;
}
public function removeReportCard(ReportCard $reportCard): self
{
if ($this->reportCards->removeElement($reportCard)) {
// set the owning side to null (unless already changed)
if ($reportCard->getEstablishment() === $this) {
$reportCard->setEstablishment(null);
}
}
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
/**
* @return Collection|AccountingStudentRegistrationPayment[]
*/
public function getAccountingStudentRegistrationPayments(): Collection
{
return $this->accountingStudentRegistrationPayments;
}
public function addAccountingStudentRegistrationPayment(AccountingStudentRegistrationPayment $accountingStudentRegistrationPayment): self
{
if (!$this->accountingStudentRegistrationPayments->contains($accountingStudentRegistrationPayment)) {
$this->accountingStudentRegistrationPayments[] = $accountingStudentRegistrationPayment;
$accountingStudentRegistrationPayment->setEstablishment($this);
}
return $this;
}
public function removeAccountingStudentRegistrationPayment(AccountingStudentRegistrationPayment $accountingStudentRegistrationPayment): self
{
if ($this->accountingStudentRegistrationPayments->removeElement($accountingStudentRegistrationPayment)) {
// set the owning side to null (unless already changed)
if ($accountingStudentRegistrationPayment->getEstablishment() === $this) {
$accountingStudentRegistrationPayment->setEstablishment(null);
}
}
return $this;
}
public function getImage(): ?string
{
return $this->image;
}
public function setImage(?string $image): self
{
$this->image = $image;
return $this;
}
/**
* @return Collection|RegistrationClassChange[]
*/
public function getRegistrationClassChanges(): Collection
{
return $this->registrationClassChanges;
}
public function addRegistrationClassChange(RegistrationClassChange $registrationClassChange): self
{
if (!$this->registrationClassChanges->contains($registrationClassChange)) {
$this->registrationClassChanges[] = $registrationClassChange;
$registrationClassChange->setEstablishment($this);
}
return $this;
}
public function removeRegistrationClassChange(RegistrationClassChange $registrationClassChange): self
{
if ($this->registrationClassChanges->removeElement($registrationClassChange)) {
// set the owning side to null (unless already changed)
if ($registrationClassChange->getEstablishment() === $this) {
$registrationClassChange->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationStudentDowngrade[]
*/
public function getRegistrationStudentDowngrades(): Collection
{
return $this->registrationStudentDowngrades;
}
public function addRegistrationStudentDowngrade(RegistrationStudentDowngrade $registrationStudentDowngrade): self
{
if (!$this->registrationStudentDowngrades->contains($registrationStudentDowngrade)) {
$this->registrationStudentDowngrades[] = $registrationStudentDowngrade;
$registrationStudentDowngrade->setEstablishment($this);
}
return $this;
}
public function removeRegistrationStudentDowngrade(RegistrationStudentDowngrade $registrationStudentDowngrade): self
{
if ($this->registrationStudentDowngrades->removeElement($registrationStudentDowngrade)) {
// set the owning side to null (unless already changed)
if ($registrationStudentDowngrade->getEstablishment() === $this) {
$registrationStudentDowngrade->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationStudentDowngradeLine[]
*/
public function getRegistrationStudentDowngradeLines(): Collection
{
return $this->registrationStudentDowngradeLines;
}
public function addRegistrationStudentDowngradeLine(RegistrationStudentDowngradeLine $registrationStudentDowngradeLine): self
{
if (!$this->registrationStudentDowngradeLines->contains($registrationStudentDowngradeLine)) {
$this->registrationStudentDowngradeLines[] = $registrationStudentDowngradeLine;
$registrationStudentDowngradeLine->setEstablishment($this);
}
return $this;
}
public function removeRegistrationStudentDowngradeLine(RegistrationStudentDowngradeLine $registrationStudentDowngradeLine): self
{
if ($this->registrationStudentDowngradeLines->removeElement($registrationStudentDowngradeLine)) {
// set the owning side to null (unless already changed)
if ($registrationStudentDowngradeLine->getEstablishment() === $this) {
$registrationStudentDowngradeLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationStudentAbandonment[]
*/
public function getRegistrationStudentAbandonments(): Collection
{
return $this->registrationStudentAbandonments;
}
public function addRegistrationStudentAbandonment(RegistrationStudentAbandonment $registrationStudentAbandonment): self
{
if (!$this->registrationStudentAbandonments->contains($registrationStudentAbandonment)) {
$this->registrationStudentAbandonments[] = $registrationStudentAbandonment;
$registrationStudentAbandonment->setEstablishment($this);
}
return $this;
}
public function removeRegistrationStudentAbandonment(RegistrationStudentAbandonment $registrationStudentAbandonment): self
{
if ($this->registrationStudentAbandonments->removeElement($registrationStudentAbandonment)) {
// set the owning side to null (unless already changed)
if ($registrationStudentAbandonment->getEstablishment() === $this) {
$registrationStudentAbandonment->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationStudentAbandonmentLine[]
*/
public function getRegistrationStudentAbandonmentLines(): Collection
{
return $this->registrationStudentAbandonmentLines;
}
public function addRegistrationStudentAbandonmentLine(RegistrationStudentAbandonmentLine $registrationStudentAbandonmentLine): self
{
if (!$this->registrationStudentAbandonmentLines->contains($registrationStudentAbandonmentLine)) {
$this->registrationStudentAbandonmentLines[] = $registrationStudentAbandonmentLine;
$registrationStudentAbandonmentLine->setEstablishment($this);
}
return $this;
}
public function removeRegistrationStudentAbandonmentLine(RegistrationStudentAbandonmentLine $registrationStudentAbandonmentLine): self
{
if ($this->registrationStudentAbandonmentLines->removeElement($registrationStudentAbandonmentLine)) {
// set the owning side to null (unless already changed)
if ($registrationStudentAbandonmentLine->getEstablishment() === $this) {
$registrationStudentAbandonmentLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TreasuryPayment[]
*/
public function getTreasuryPayments(): Collection
{
return $this->treasuryPayments;
}
public function addTreasuryPayment(TreasuryPayment $treasuryPayment): self
{
if (!$this->treasuryPayments->contains($treasuryPayment)) {
$this->treasuryPayments[] = $treasuryPayment;
$treasuryPayment->setEstablishment($this);
}
return $this;
}
public function removeTreasuryPayment(TreasuryPayment $treasuryPayment): self
{
if ($this->treasuryPayments->removeElement($treasuryPayment)) {
// set the owning side to null (unless already changed)
if ($treasuryPayment->getEstablishment() === $this) {
$treasuryPayment->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationStudentPreRegistration[]
*/
public function getRegistrationStudentPreRegistrations(): Collection
{
return $this->registrationStudentPreRegistrations;
}
public function addRegistrationStudentPreRegistration(RegistrationStudentPreRegistration $registrationStudentPreRegistration): self
{
if (!$this->registrationStudentPreRegistrations->contains($registrationStudentPreRegistration)) {
$this->registrationStudentPreRegistrations[] = $registrationStudentPreRegistration;
$registrationStudentPreRegistration->setEstablishment($this);
}
return $this;
}
public function removeRegistrationStudentPreRegistration(RegistrationStudentPreRegistration $registrationStudentPreRegistration): self
{
if ($this->registrationStudentPreRegistrations->removeElement($registrationStudentPreRegistration)) {
// set the owning side to null (unless already changed)
if ($registrationStudentPreRegistration->getEstablishment() === $this) {
$registrationStudentPreRegistration->setEstablishment(null);
}
}
return $this;
}
public function getMainActivity(): ?string
{
return $this->main_activity;
}
public function setMainActivity(?string $main_activity): self
{
$this->main_activity = $main_activity;
return $this;
}
/**
* @return Collection|EntreTestReportCard[]
*/
public function getEntreTestReportCards(): Collection
{
return $this->entreTestReportCards;
}
public function addEntreTestReportCard(EntreTestReportCard $entreTestReportCard): self
{
if (!$this->entreTestReportCards->contains($entreTestReportCard)) {
$this->entreTestReportCards[] = $entreTestReportCard;
$entreTestReportCard->setEstablishment($this);
}
return $this;
}
public function removeEntreTestReportCard(EntreTestReportCard $entreTestReportCard): self
{
if ($this->entreTestReportCards->removeElement($entreTestReportCard)) {
// set the owning side to null (unless already changed)
if ($entreTestReportCard->getEstablishment() === $this) {
$entreTestReportCard->setEstablishment(null);
}
}
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->setEstablishment($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->getEstablishment() === $this) {
$preRegistrationEntreTestReportCard->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|MatterAveragePreRegistrationEntryTest[]
*/
public function getMatterAveragePreRegistrationEntryTests(): Collection
{
return $this->matterAveragePreRegistrationEntryTests;
}
public function addMatterAveragePreRegistrationEntryTest(MatterAveragePreRegistrationEntryTest $matterAveragePreRegistrationEntryTest): self
{
if (!$this->matterAveragePreRegistrationEntryTests->contains($matterAveragePreRegistrationEntryTest)) {
$this->matterAveragePreRegistrationEntryTests[] = $matterAveragePreRegistrationEntryTest;
$matterAveragePreRegistrationEntryTest->setEstablishment($this);
}
return $this;
}
public function removeMatterAveragePreRegistrationEntryTest(MatterAveragePreRegistrationEntryTest $matterAveragePreRegistrationEntryTest): self
{
if ($this->matterAveragePreRegistrationEntryTests->removeElement($matterAveragePreRegistrationEntryTest)) {
// set the owning side to null (unless already changed)
if ($matterAveragePreRegistrationEntryTest->getEstablishment() === $this) {
$matterAveragePreRegistrationEntryTest->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CommunicationMessage[]
*/
public function getCommunicationMessages(): Collection
{
return $this->communicationMessages;
}
public function addCommunicationMessage(CommunicationMessage $communicationMessage): self
{
if (!$this->communicationMessages->contains($communicationMessage)) {
$this->communicationMessages[] = $communicationMessage;
$communicationMessage->setEstablishment($this);
}
return $this;
}
public function removeCommunicationMessage(CommunicationMessage $communicationMessage): self
{
if ($this->communicationMessages->removeElement($communicationMessage)) {
// set the owning side to null (unless already changed)
if ($communicationMessage->getEstablishment() === $this) {
$communicationMessage->setEstablishment(null);
}
}
return $this;
}
/** @see \Serializable::serialize() */
public function serialize()
{
return serialize(array($this->id,$this->image,));
}
/** @see \Serializable::unserialize() */
public function unserialize($serialized)
{
list($this->id, $this->image,) = unserialize($serialized, array('allowed_classes' => false));
}
/**
* @return Collection|TransportVehicle[]
*/
public function getTransportVehicles(): Collection
{
return $this->transportVehicles;
}
public function addTransportVehicle(TransportVehicle $transportVehicle): self
{
if (!$this->transportVehicles->contains($transportVehicle)) {
$this->transportVehicles[] = $transportVehicle;
$transportVehicle->setEstablishment($this);
}
return $this;
}
public function removeTransportVehicle(TransportVehicle $transportVehicle): self
{
if ($this->transportVehicles->removeElement($transportVehicle)) {
// set the owning side to null (unless already changed)
if ($transportVehicle->getEstablishment() === $this) {
$transportVehicle->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportVehicleModel[]
*/
public function getTransportVehicleModels(): Collection
{
return $this->transportVehicleModels;
}
public function addTransportVehicleModel(TransportVehicleModel $transportVehicleModel): self
{
if (!$this->transportVehicleModels->contains($transportVehicleModel)) {
$this->transportVehicleModels[] = $transportVehicleModel;
$transportVehicleModel->setEstablishment($this);
}
return $this;
}
public function removeTransportVehicleModel(TransportVehicleModel $transportVehicleModel): self
{
if ($this->transportVehicleModels->removeElement($transportVehicleModel)) {
// set the owning side to null (unless already changed)
if ($transportVehicleModel->getEstablishment() === $this) {
$transportVehicleModel->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportVehicleAdministrativeDocument[]
*/
public function getTransportVehicleAdministrativeDocuments(): Collection
{
return $this->transportVehicleAdministrativeDocuments;
}
public function addTransportVehicleAdministrativeDocument(TransportVehicleAdministrativeDocument $transportVehicleAdministrativeDocument): self
{
if (!$this->transportVehicleAdministrativeDocuments->contains($transportVehicleAdministrativeDocument)) {
$this->transportVehicleAdministrativeDocuments[] = $transportVehicleAdministrativeDocument;
$transportVehicleAdministrativeDocument->setEstablishment($this);
}
return $this;
}
public function removeTransportVehicleAdministrativeDocument(TransportVehicleAdministrativeDocument $transportVehicleAdministrativeDocument): self
{
if ($this->transportVehicleAdministrativeDocuments->removeElement($transportVehicleAdministrativeDocument)) {
// set the owning side to null (unless already changed)
if ($transportVehicleAdministrativeDocument->getEstablishment() === $this) {
$transportVehicleAdministrativeDocument->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportVehicleMechanicalPiece[]
*/
public function getTransportVehicleMechanicalPieces(): Collection
{
return $this->transportVehicleMechanicalPieces;
}
public function addTransportVehicleMechanicalPiece(TransportVehicleMechanicalPiece $transportVehicleMechanicalPiece): self
{
if (!$this->transportVehicleMechanicalPieces->contains($transportVehicleMechanicalPiece)) {
$this->transportVehicleMechanicalPieces[] = $transportVehicleMechanicalPiece;
$transportVehicleMechanicalPiece->setEstablishment($this);
}
return $this;
}
public function removeTransportVehicleMechanicalPiece(TransportVehicleMechanicalPiece $transportVehicleMechanicalPiece): self
{
if ($this->transportVehicleMechanicalPieces->removeElement($transportVehicleMechanicalPiece)) {
// set the owning side to null (unless already changed)
if ($transportVehicleMechanicalPiece->getEstablishment() === $this) {
$transportVehicleMechanicalPiece->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportVehicleMaintenance[]
*/
public function getTransportVehicleMaintenances(): Collection
{
return $this->transportVehicleMaintenances;
}
public function addTransportVehicleMaintenance(TransportVehicleMaintenance $transportVehicleMaintenance): self
{
if (!$this->transportVehicleMaintenances->contains($transportVehicleMaintenance)) {
$this->transportVehicleMaintenances[] = $transportVehicleMaintenance;
$transportVehicleMaintenance->setEstablishment($this);
}
return $this;
}
public function removeTransportVehicleMaintenance(TransportVehicleMaintenance $transportVehicleMaintenance): self
{
if ($this->transportVehicleMaintenances->removeElement($transportVehicleMaintenance)) {
// set the owning side to null (unless already changed)
if ($transportVehicleMaintenance->getEstablishment() === $this) {
$transportVehicleMaintenance->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportVehicleFuelTracking[]
*/
public function getTransportVehicleFuelTrackings(): Collection
{
return $this->transportVehicleFuelTrackings;
}
public function addTransportVehicleFuelTracking(TransportVehicleFuelTracking $transportVehicleFuelTracking): self
{
if (!$this->transportVehicleFuelTrackings->contains($transportVehicleFuelTracking)) {
$this->transportVehicleFuelTrackings[] = $transportVehicleFuelTracking;
$transportVehicleFuelTracking->setEstablishment($this);
}
return $this;
}
public function removeTransportVehicleFuelTracking(TransportVehicleFuelTracking $transportVehicleFuelTracking): self
{
if ($this->transportVehicleFuelTrackings->removeElement($transportVehicleFuelTracking)) {
// set the owning side to null (unless already changed)
if ($transportVehicleFuelTracking->getEstablishment() === $this) {
$transportVehicleFuelTracking->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportZone[]
*/
public function getTransportZones(): Collection
{
return $this->transportZones;
}
public function addTransportZone(TransportZone $transportZone): self
{
if (!$this->transportZones->contains($transportZone)) {
$this->transportZones[] = $transportZone;
$transportZone->setEstablishment($this);
}
return $this;
}
public function removeTransportZone(TransportZone $transportZone): self
{
if ($this->transportZones->removeElement($transportZone)) {
// set the owning side to null (unless already changed)
if ($transportZone->getEstablishment() === $this) {
$transportZone->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TransportZoneCheckPoint[]
*/
public function getTransportZoneCheckPoints(): Collection
{
return $this->transportZoneCheckPoints;
}
public function addTransportZoneCheckPoint(TransportZoneCheckPoint $transportZoneCheckPoint): self
{
if (!$this->transportZoneCheckPoints->contains($transportZoneCheckPoint)) {
$this->transportZoneCheckPoints[] = $transportZoneCheckPoint;
$transportZoneCheckPoint->setEstablishment($this);
}
return $this;
}
public function removeTransportZoneCheckPoint(TransportZoneCheckPoint $transportZoneCheckPoint): self
{
if ($this->transportZoneCheckPoints->removeElement($transportZoneCheckPoint)) {
// set the owning side to null (unless already changed)
if ($transportZoneCheckPoint->getEstablishment() === $this) {
$transportZoneCheckPoint->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationTransportCheckpoint[]
*/
public function getRegistrationTransportCheckpoints(): Collection
{
return $this->registrationTransportCheckpoints;
}
public function addRegistrationTransportCheckpoint(RegistrationTransportCheckpoint $registrationTransportCheckpoint): self
{
if (!$this->registrationTransportCheckpoints->contains($registrationTransportCheckpoint)) {
$this->registrationTransportCheckpoints[] = $registrationTransportCheckpoint;
$registrationTransportCheckpoint->setEstablishment($this);
}
return $this;
}
public function removeRegistrationTransportCheckpoint(RegistrationTransportCheckpoint $registrationTransportCheckpoint): self
{
if ($this->registrationTransportCheckpoints->removeElement($registrationTransportCheckpoint)) {
// set the owning side to null (unless already changed)
if ($registrationTransportCheckpoint->getEstablishment() === $this) {
$registrationTransportCheckpoint->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingDocumentToProvide[]
*/
public function getSettingDocumentToProvides(): Collection
{
return $this->settingDocumentToProvides;
}
public function addSettingDocumentToProvide(SettingDocumentToProvide $settingDocumentToProvide): self
{
if (!$this->settingDocumentToProvides->contains($settingDocumentToProvide)) {
$this->settingDocumentToProvides[] = $settingDocumentToProvide;
$settingDocumentToProvide->setEstablishment($this);
}
return $this;
}
public function removeSettingDocumentToProvide(SettingDocumentToProvide $settingDocumentToProvide): self
{
if ($this->settingDocumentToProvides->removeElement($settingDocumentToProvide)) {
// set the owning side to null (unless already changed)
if ($settingDocumentToProvide->getEstablishment() === $this) {
$settingDocumentToProvide->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingMedicalHistory[]
*/
public function getSettingMedicalHistories(): Collection
{
return $this->settingMedicalHistories;
}
public function addSettingMedicalHistory(SettingMedicalHistory $settingMedicalHistory): self
{
if (!$this->settingMedicalHistories->contains($settingMedicalHistory)) {
$this->settingMedicalHistories[] = $settingMedicalHistory;
$settingMedicalHistory->setEstablishment($this);
}
return $this;
}
public function removeSettingMedicalHistory(SettingMedicalHistory $settingMedicalHistory): self
{
if ($this->settingMedicalHistories->removeElement($settingMedicalHistory)) {
// set the owning side to null (unless already changed)
if ($settingMedicalHistory->getEstablishment() === $this) {
$settingMedicalHistory->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CanteenUtensil[]
*/
public function getCanteenUtensils(): Collection
{
return $this->canteenUtensils;
}
public function addCanteenUtensil(CanteenUtensil $canteenUtensil): self
{
if (!$this->canteenUtensils->contains($canteenUtensil)) {
$this->canteenUtensils[] = $canteenUtensil;
$canteenUtensil->setEstablishment($this);
}
return $this;
}
public function removeCanteenUtensil(CanteenUtensil $canteenUtensil): self
{
if ($this->canteenUtensils->removeElement($canteenUtensil)) {
// set the owning side to null (unless already changed)
if ($canteenUtensil->getEstablishment() === $this) {
$canteenUtensil->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CanteenStockMovement[]
*/
public function getCanteenStockMovements(): Collection
{
return $this->canteenStockMovements;
}
public function addCanteenStockMovement(CanteenStockMovement $canteenStockMovement): self
{
if (!$this->canteenStockMovements->contains($canteenStockMovement)) {
$this->canteenStockMovements[] = $canteenStockMovement;
$canteenStockMovement->setEstablishment($this);
}
return $this;
}
public function removeCanteenStockMovement(CanteenStockMovement $canteenStockMovement): self
{
if ($this->canteenStockMovements->removeElement($canteenStockMovement)) {
// set the owning side to null (unless already changed)
if ($canteenStockMovement->getEstablishment() === $this) {
$canteenStockMovement->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CanteenDish[]
*/
public function getCanteenDishes(): Collection
{
return $this->canteenDishes;
}
public function addCanteenDish(CanteenDish $canteenDish): self
{
if (!$this->canteenDishes->contains($canteenDish)) {
$this->canteenDishes[] = $canteenDish;
$canteenDish->setEstablishment($this);
}
return $this;
}
public function removeCanteenDish(CanteenDish $canteenDish): self
{
if ($this->canteenDishes->removeElement($canteenDish)) {
// set the owning side to null (unless already changed)
if ($canteenDish->getEstablishment() === $this) {
$canteenDish->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CanteenTime[]
*/
public function getCanteenTimes(): Collection
{
return $this->canteenTimes;
}
public function addCanteenTime(CanteenTime $canteenTime): self
{
if (!$this->canteenTimes->contains($canteenTime)) {
$this->canteenTimes[] = $canteenTime;
$canteenTime->setEstablishment($this);
}
return $this;
}
public function removeCanteenTime(CanteenTime $canteenTime): self
{
if ($this->canteenTimes->removeElement($canteenTime)) {
// set the owning side to null (unless already changed)
if ($canteenTime->getEstablishment() === $this) {
$canteenTime->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CanteenMenu[]
*/
public function getCanteenMenus(): Collection
{
return $this->canteenMenus;
}
public function addCanteenMenu(CanteenMenu $canteenMenu): self
{
if (!$this->canteenMenus->contains($canteenMenu)) {
$this->canteenMenus[] = $canteenMenu;
$canteenMenu->setEstablishment($this);
}
return $this;
}
public function removeCanteenMenu(CanteenMenu $canteenMenu): self
{
if ($this->canteenMenus->removeElement($canteenMenu)) {
// set the owning side to null (unless already changed)
if ($canteenMenu->getEstablishment() === $this) {
$canteenMenu->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CanteenMenuItem[]
*/
public function getCanteenMenuItems(): Collection
{
return $this->canteenMenuItems;
}
public function addCanteenMenuItem(CanteenMenuItem $canteenMenuItem): self
{
if (!$this->canteenMenuItems->contains($canteenMenuItem)) {
$this->canteenMenuItems[] = $canteenMenuItem;
$canteenMenuItem->setEstablishment($this);
}
return $this;
}
public function removeCanteenMenuItem(CanteenMenuItem $canteenMenuItem): self
{
if ($this->canteenMenuItems->removeElement($canteenMenuItem)) {
// set the owning side to null (unless already changed)
if ($canteenMenuItem->getEstablishment() === $this) {
$canteenMenuItem->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RegistrationDiet[]
*/
public function getRegistrationDiets(): Collection
{
return $this->registrationDiets;
}
public function addRegistrationDiet(RegistrationDiet $registrationDiet): self
{
if (!$this->registrationDiets->contains($registrationDiet)) {
$this->registrationDiets[] = $registrationDiet;
$registrationDiet->setEstablishment($this);
}
return $this;
}
public function removeRegistrationDiet(RegistrationDiet $registrationDiet): self
{
if ($this->registrationDiets->removeElement($registrationDiet)) {
// set the owning side to null (unless already changed)
if ($registrationDiet->getEstablishment() === $this) {
$registrationDiet->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAbsenceAndDelay[]
*/
public function getSchoolAbsenceAndDelays(): Collection
{
return $this->schoolAbsenceAndDelays;
}
public function addSchoolAbsenceAndDelay(SchoolAbsenceAndDelay $schoolAbsenceAndDelay): self
{
if (!$this->schoolAbsenceAndDelays->contains($schoolAbsenceAndDelay)) {
$this->schoolAbsenceAndDelays[] = $schoolAbsenceAndDelay;
$schoolAbsenceAndDelay->setEstablishment($this);
}
return $this;
}
public function removeSchoolAbsenceAndDelay(SchoolAbsenceAndDelay $schoolAbsenceAndDelay): self
{
if ($this->schoolAbsenceAndDelays->removeElement($schoolAbsenceAndDelay)) {
// set the owning side to null (unless already changed)
if ($schoolAbsenceAndDelay->getEstablishment() === $this) {
$schoolAbsenceAndDelay->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAbsenceAndDelayNotification[]
*/
public function getSchoolAbsenceAndDelayNotifications(): Collection
{
return $this->schoolAbsenceAndDelayNotifications;
}
public function addSchoolAbsenceAndDelayNotification(SchoolAbsenceAndDelayNotification $schoolAbsenceAndDelayNotification): self
{
if (!$this->schoolAbsenceAndDelayNotifications->contains($schoolAbsenceAndDelayNotification)) {
$this->schoolAbsenceAndDelayNotifications[] = $schoolAbsenceAndDelayNotification;
$schoolAbsenceAndDelayNotification->setEstablishment($this);
}
return $this;
}
public function removeSchoolAbsenceAndDelayNotification(SchoolAbsenceAndDelayNotification $schoolAbsenceAndDelayNotification): self
{
if ($this->schoolAbsenceAndDelayNotifications->removeElement($schoolAbsenceAndDelayNotification)) {
// set the owning side to null (unless already changed)
if ($schoolAbsenceAndDelayNotification->getEstablishment() === $this) {
$schoolAbsenceAndDelayNotification->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAbsenceAndDelayNotificationLine[]
*/
public function getSchoolAbsenceAndDelayNotificationLines(): Collection
{
return $this->schoolAbsenceAndDelayNotificationLines;
}
public function addSchoolAbsenceAndDelayNotificationLine(SchoolAbsenceAndDelayNotificationLine $schoolAbsenceAndDelayNotificationLine): self
{
if (!$this->schoolAbsenceAndDelayNotificationLines->contains($schoolAbsenceAndDelayNotificationLine)) {
$this->schoolAbsenceAndDelayNotificationLines[] = $schoolAbsenceAndDelayNotificationLine;
$schoolAbsenceAndDelayNotificationLine->setEstablishment($this);
}
return $this;
}
public function removeSchoolAbsenceAndDelayNotificationLine(SchoolAbsenceAndDelayNotificationLine $schoolAbsenceAndDelayNotificationLine): self
{
if ($this->schoolAbsenceAndDelayNotificationLines->removeElement($schoolAbsenceAndDelayNotificationLine)) {
// set the owning side to null (unless already changed)
if ($schoolAbsenceAndDelayNotificationLine->getEstablishment() === $this) {
$schoolAbsenceAndDelayNotificationLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAbsenceAndDelaySetting[]
*/
public function getSchoolAbsenceAndDelaySettings(): Collection
{
return $this->schoolAbsenceAndDelaySettings;
}
public function addSchoolAbsenceAndDelaySetting(SchoolAbsenceAndDelaySetting $schoolAbsenceAndDelaySetting): self
{
if (!$this->schoolAbsenceAndDelaySettings->contains($schoolAbsenceAndDelaySetting)) {
$this->schoolAbsenceAndDelaySettings[] = $schoolAbsenceAndDelaySetting;
$schoolAbsenceAndDelaySetting->setEstablishment($this);
}
return $this;
}
public function removeSchoolAbsenceAndDelaySetting(SchoolAbsenceAndDelaySetting $schoolAbsenceAndDelaySetting): self
{
if ($this->schoolAbsenceAndDelaySettings->removeElement($schoolAbsenceAndDelaySetting)) {
// set the owning side to null (unless already changed)
if ($schoolAbsenceAndDelaySetting->getEstablishment() === $this) {
$schoolAbsenceAndDelaySetting->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAbsenceAndDelayReportCardNotification[]
*/
public function getSchoolAbsenceAndDelayReportCardNotifications(): Collection
{
return $this->schoolAbsenceAndDelayReportCardNotifications;
}
public function addSchoolAbsenceAndDelayReportCardNotification(SchoolAbsenceAndDelayReportCardNotification $schoolAbsenceAndDelayReportCardNotification): self
{
if (!$this->schoolAbsenceAndDelayReportCardNotifications->contains($schoolAbsenceAndDelayReportCardNotification)) {
$this->schoolAbsenceAndDelayReportCardNotifications[] = $schoolAbsenceAndDelayReportCardNotification;
$schoolAbsenceAndDelayReportCardNotification->setEstablishment($this);
}
return $this;
}
public function removeSchoolAbsenceAndDelayReportCardNotification(SchoolAbsenceAndDelayReportCardNotification $schoolAbsenceAndDelayReportCardNotification): self
{
if ($this->schoolAbsenceAndDelayReportCardNotifications->removeElement($schoolAbsenceAndDelayReportCardNotification)) {
// set the owning side to null (unless already changed)
if ($schoolAbsenceAndDelayReportCardNotification->getEstablishment() === $this) {
$schoolAbsenceAndDelayReportCardNotification->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAbsenceAndDelayReportCardNotificationLine[]
*/
public function getSchoolAbsenceAndDelayReportCardNotificationLines(): Collection
{
return $this->schoolAbsenceAndDelayReportCardNotificationLines;
}
public function addSchoolAbsenceAndDelayReportCardNotificationLine(SchoolAbsenceAndDelayReportCardNotificationLine $schoolAbsenceAndDelayReportCardNotificationLine): self
{
if (!$this->schoolAbsenceAndDelayReportCardNotificationLines->contains($schoolAbsenceAndDelayReportCardNotificationLine)) {
$this->schoolAbsenceAndDelayReportCardNotificationLines[] = $schoolAbsenceAndDelayReportCardNotificationLine;
$schoolAbsenceAndDelayReportCardNotificationLine->setEstablishment($this);
}
return $this;
}
public function removeSchoolAbsenceAndDelayReportCardNotificationLine(SchoolAbsenceAndDelayReportCardNotificationLine $schoolAbsenceAndDelayReportCardNotificationLine): self
{
if ($this->schoolAbsenceAndDelayReportCardNotificationLines->removeElement($schoolAbsenceAndDelayReportCardNotificationLine)) {
// set the owning side to null (unless already changed)
if ($schoolAbsenceAndDelayReportCardNotificationLine->getEstablishment() === $this) {
$schoolAbsenceAndDelayReportCardNotificationLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingLearningDifficulty[]
*/
public function getSettingLearningDifficulties(): Collection
{
return $this->settingLearningDifficulties;
}
public function addSettingLearningDifficulty(SettingLearningDifficulty $settingLearningDifficulty): self
{
if (!$this->settingLearningDifficulties->contains($settingLearningDifficulty)) {
$this->settingLearningDifficulties[] = $settingLearningDifficulty;
$settingLearningDifficulty->setEstablishment($this);
}
return $this;
}
public function removeSettingLearningDifficulty(SettingLearningDifficulty $settingLearningDifficulty): self
{
if ($this->settingLearningDifficulties->removeElement($settingLearningDifficulty)) {
// set the owning side to null (unless already changed)
if ($settingLearningDifficulty->getEstablishment() === $this) {
$settingLearningDifficulty->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|User[]
*/
public function getAccessUsers(): Collection
{
return $this->accessUsers;
}
public function addAccessUser(User $accessUser): self
{
if (!$this->accessUsers->contains($accessUser)) {
$this->accessUsers[] = $accessUser;
$accessUser->addEstablishment($this);
}
return $this;
}
public function removeAccessUser(User $accessUser): self
{
if ($this->accessUsers->removeElement($accessUser)) {
$accessUser->removeEstablishment($this);
}
return $this;
}
/**
* @return Collection|RhStatut[]
*/
public function getRhStatuts(): Collection
{
return $this->rhStatuts;
}
public function addRhStatut(RhStatut $rhStatut): self
{
if (!$this->rhStatuts->contains($rhStatut)) {
$this->rhStatuts[] = $rhStatut;
$rhStatut->setEstablishment($this);
}
return $this;
}
public function removeRhStatut(RhStatut $rhStatut): self
{
if ($this->rhStatuts->removeElement($rhStatut)) {
// set the owning side to null (unless already changed)
if ($rhStatut->getEstablishment() === $this) {
$rhStatut->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|CommunicationPredefinedMessage[]
*/
public function getCommunicationPredefinedMessages(): Collection
{
return $this->communicationPredefinedMessages;
}
public function addCommunicationPredefinedMessage(CommunicationPredefinedMessage $communicationPredefinedMessage): self
{
if (!$this->communicationPredefinedMessages->contains($communicationPredefinedMessage)) {
$this->communicationPredefinedMessages[] = $communicationPredefinedMessage;
$communicationPredefinedMessage->setEstablishment($this);
}
return $this;
}
public function removeCommunicationPredefinedMessage(CommunicationPredefinedMessage $communicationPredefinedMessage): self
{
if ($this->communicationPredefinedMessages->removeElement($communicationPredefinedMessage)) {
// set the owning side to null (unless already changed)
if ($communicationPredefinedMessage->getEstablishment() === $this) {
$communicationPredefinedMessage->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolTeacher[]
*/
public function getSchoolTeachers(): Collection
{
return $this->schoolTeachers;
}
public function addSchoolTeacher(SchoolTeacher $schoolTeacher): self
{
if (!$this->schoolTeachers->contains($schoolTeacher)) {
$this->schoolTeachers[] = $schoolTeacher;
$schoolTeacher->setEstablishment($this);
}
return $this;
}
public function removeSchoolTeacher(SchoolTeacher $schoolTeacher): self
{
if ($this->schoolTeachers->removeElement($schoolTeacher)) {
// set the owning side to null (unless already changed)
if ($schoolTeacher->getEstablishment() === $this) {
$schoolTeacher->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockProduct[]
*/
public function getStockProducts(): Collection
{
return $this->stockProducts;
}
public function addStockProduct(StockProduct $stockProduct): self
{
if (!$this->stockProducts->contains($stockProduct)) {
$this->stockProducts[] = $stockProduct;
$stockProduct->setEstablishment($this);
}
return $this;
}
public function removeStockProduct(StockProduct $stockProduct): self
{
if ($this->stockProducts->removeElement($stockProduct)) {
// set the owning side to null (unless already changed)
if ($stockProduct->getEstablishment() === $this) {
$stockProduct->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockKitCategory[]
*/
public function getStockKitCategories(): Collection
{
return $this->stockKitCategories;
}
public function addStockKitCategory(StockKitCategory $stockKitCategory): self
{
if (!$this->stockKitCategories->contains($stockKitCategory)) {
$this->stockKitCategories[] = $stockKitCategory;
$stockKitCategory->setEstablishment($this);
}
return $this;
}
public function removeStockKitCategory(StockKitCategory $stockKitCategory): self
{
if ($this->stockKitCategories->removeElement($stockKitCategory)) {
// set the owning side to null (unless already changed)
if ($stockKitCategory->getEstablishment() === $this) {
$stockKitCategory->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockKitProduct[]
*/
public function getStockKitProducts(): Collection
{
return $this->stockKitProducts;
}
public function addStockKitProduct(StockKitProduct $stockKitProduct): self
{
if (!$this->stockKitProducts->contains($stockKitProduct)) {
$this->stockKitProducts[] = $stockKitProduct;
$stockKitProduct->setEstablishment($this);
}
return $this;
}
public function removeStockKitProduct(StockKitProduct $stockKitProduct): self
{
if ($this->stockKitProducts->removeElement($stockKitProduct)) {
// set the owning side to null (unless already changed)
if ($stockKitProduct->getEstablishment() === $this) {
$stockKitProduct->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockProductEntry[]
*/
public function getStockProductEntries(): Collection
{
return $this->stockProductEntries;
}
public function addStockProductEntry(StockProductEntry $stockProductEntry): self
{
if (!$this->stockProductEntries->contains($stockProductEntry)) {
$this->stockProductEntries[] = $stockProductEntry;
$stockProductEntry->setEstablishment($this);
}
return $this;
}
public function removeStockProductEntry(StockProductEntry $stockProductEntry): self
{
if ($this->stockProductEntries->removeElement($stockProductEntry)) {
// set the owning side to null (unless already changed)
if ($stockProductEntry->getEstablishment() === $this) {
$stockProductEntry->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockProductEntryLine[]
*/
public function getStockProductEntryLines(): Collection
{
return $this->stockProductEntryLines;
}
public function addStockProductEntryLine(StockProductEntryLine $stockProductEntryLine): self
{
if (!$this->stockProductEntryLines->contains($stockProductEntryLine)) {
$this->stockProductEntryLines[] = $stockProductEntryLine;
$stockProductEntryLine->setEstablishment($this);
}
return $this;
}
public function removeStockProductEntryLine(StockProductEntryLine $stockProductEntryLine): self
{
if ($this->stockProductEntryLines->removeElement($stockProductEntryLine)) {
// set the owning side to null (unless already changed)
if ($stockProductEntryLine->getEstablishment() === $this) {
$stockProductEntryLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockProviderKitEntry[]
*/
public function getStockProviderKitEntries(): Collection
{
return $this->stockProviderKitEntries;
}
public function addStockProviderKitEntry(StockProviderKitEntry $stockProviderKitEntry): self
{
if (!$this->stockProviderKitEntries->contains($stockProviderKitEntry)) {
$this->stockProviderKitEntries[] = $stockProviderKitEntry;
$stockProviderKitEntry->setEstablishment($this);
}
return $this;
}
public function removeStockProviderKitEntry(StockProviderKitEntry $stockProviderKitEntry): self
{
if ($this->stockProviderKitEntries->removeElement($stockProviderKitEntry)) {
// set the owning side to null (unless already changed)
if ($stockProviderKitEntry->getEstablishment() === $this) {
$stockProviderKitEntry->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockProviderKitEntryLine[]
*/
public function getStockProviderKitEntryLines(): Collection
{
return $this->stockProviderKitEntryLines;
}
public function addStockProviderKitEntryLine(StockProviderKitEntryLine $stockProviderKitEntryLine): self
{
if (!$this->stockProviderKitEntryLines->contains($stockProviderKitEntryLine)) {
$this->stockProviderKitEntryLines[] = $stockProviderKitEntryLine;
$stockProviderKitEntryLine->setEstablishment($this);
}
return $this;
}
public function removeStockProviderKitEntryLine(StockProviderKitEntryLine $stockProviderKitEntryLine): self
{
if ($this->stockProviderKitEntryLines->removeElement($stockProviderKitEntryLine)) {
// set the owning side to null (unless already changed)
if ($stockProviderKitEntryLine->getEstablishment() === $this) {
$stockProviderKitEntryLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockStudentKitEntry[]
*/
public function getStockStudentKitEntries(): Collection
{
return $this->stockStudentKitEntries;
}
public function addStockStudentKitEntry(StockStudentKitEntry $stockStudentKitEntry): self
{
if (!$this->stockStudentKitEntries->contains($stockStudentKitEntry)) {
$this->stockStudentKitEntries[] = $stockStudentKitEntry;
$stockStudentKitEntry->setEstablishment($this);
}
return $this;
}
public function removeStockStudentKitEntry(StockStudentKitEntry $stockStudentKitEntry): self
{
if ($this->stockStudentKitEntries->removeElement($stockStudentKitEntry)) {
// set the owning side to null (unless already changed)
if ($stockStudentKitEntry->getEstablishment() === $this) {
$stockStudentKitEntry->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockStudentKitEntryLine[]
*/
public function getStockStudentKitEntryLines(): Collection
{
return $this->stockStudentKitEntryLines;
}
public function addStockStudentKitEntryLine(StockStudentKitEntryLine $stockStudentKitEntryLine): self
{
if (!$this->stockStudentKitEntryLines->contains($stockStudentKitEntryLine)) {
$this->stockStudentKitEntryLines[] = $stockStudentKitEntryLine;
$stockStudentKitEntryLine->setEstablishment($this);
}
return $this;
}
public function removeStockStudentKitEntryLine(StockStudentKitEntryLine $stockStudentKitEntryLine): self
{
if ($this->stockStudentKitEntryLines->removeElement($stockStudentKitEntryLine)) {
// set the owning side to null (unless already changed)
if ($stockStudentKitEntryLine->getEstablishment() === $this) {
$stockStudentKitEntryLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockKitOut[]
*/
public function getStockKitOuts(): Collection
{
return $this->stockKitOuts;
}
public function addStockKitOut(StockKitOut $stockKitOut): self
{
if (!$this->stockKitOuts->contains($stockKitOut)) {
$this->stockKitOuts[] = $stockKitOut;
$stockKitOut->setEstablishment($this);
}
return $this;
}
public function removeStockKitOut(StockKitOut $stockKitOut): self
{
if ($this->stockKitOuts->removeElement($stockKitOut)) {
// set the owning side to null (unless already changed)
if ($stockKitOut->getEstablishment() === $this) {
$stockKitOut->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockKitOutLine[]
*/
public function getStockKitOutLines(): Collection
{
return $this->stockKitOutLines;
}
public function addStockKitOutLine(StockKitOutLine $stockKitOutLine): self
{
if (!$this->stockKitOutLines->contains($stockKitOutLine)) {
$this->stockKitOutLines[] = $stockKitOutLine;
$stockKitOutLine->setEstablishment($this);
}
return $this;
}
public function removeStockKitOutLine(StockKitOutLine $stockKitOutLine): self
{
if ($this->stockKitOutLines->removeElement($stockKitOutLine)) {
// set the owning side to null (unless already changed)
if ($stockKitOutLine->getEstablishment() === $this) {
$stockKitOutLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|StockProductOut[]
*/
public function getStockProductOuts(): Collection
{
return $this->stockProductOuts;
}
public function addStockProductOut(StockProductOut $stockProductOut): self
{
if (!$this->stockProductOuts->contains($stockProductOut)) {
$this->stockProductOuts[] = $stockProductOut;
$stockProductOut->setEstablishment($this);
}
return $this;
}
public function removeStockProductOut(StockProductOut $stockProductOut): self
{
if ($this->stockProductOuts->removeElement($stockProductOut)) {
// set the owning side to null (unless already changed)
if ($stockProductOut->getEstablishment() === $this) {
$stockProductOut->setEstablishment(null);
}
}
return $this;
}
public function getSmsSender(): ?string
{
return $this->sms_sender;
}
public function setSmsSender(string $sms_sender): self
{
$this->sms_sender = $sms_sender;
return $this;
}
public function getSmsLogin(): ?string
{
return $this->sms_login;
}
public function setSmsLogin(string $sms_login): self
{
$this->sms_login = $sms_login;
return $this;
}
public function getSmsPassword(): ?string
{
return $this->sms_password;
}
public function setSmsPassword(string $sms_password): self
{
$this->sms_password = $sms_password;
return $this;
}
/**
* @return Collection|XlsImportation[]
*/
public function getXlsImportations(): Collection
{
return $this->xlsImportations;
}
public function addXlsImportation(XlsImportation $xlsImportation): self
{
if (!$this->xlsImportations->contains($xlsImportation)) {
$this->xlsImportations[] = $xlsImportation;
$xlsImportation->setEstablishment($this);
}
return $this;
}
public function removeXlsImportation(XlsImportation $xlsImportation): self
{
if ($this->xlsImportations->removeElement($xlsImportation)) {
// set the owning side to null (unless already changed)
if ($xlsImportation->getEstablishment() === $this) {
$xlsImportation->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingCredit[]
*/
public function getAccountingCredits(): Collection
{
return $this->accountingCredits;
}
public function addAccountingCredit(AccountingCredit $accountingCredit): self
{
if (!$this->accountingCredits->contains($accountingCredit)) {
$this->accountingCredits[] = $accountingCredit;
$accountingCredit->setEstablishment($this);
}
return $this;
}
public function removeAccountingCredit(AccountingCredit $accountingCredit): self
{
if ($this->accountingCredits->removeElement($accountingCredit)) {
// set the owning side to null (unless already changed)
if ($accountingCredit->getEstablishment() === $this) {
$accountingCredit->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingCreditLine[]
*/
public function getAccountingCreditLines(): Collection
{
return $this->accountingCreditLines;
}
public function addAccountingCreditLine(AccountingCreditLine $accountingCreditLine): self
{
if (!$this->accountingCreditLines->contains($accountingCreditLine)) {
$this->accountingCreditLines[] = $accountingCreditLine;
$accountingCreditLine->setEstablishment($this);
}
return $this;
}
public function removeAccountingCreditLine(AccountingCreditLine $accountingCreditLine): self
{
if ($this->accountingCreditLines->removeElement($accountingCreditLine)) {
// set the owning side to null (unless already changed)
if ($accountingCreditLine->getEstablishment() === $this) {
$accountingCreditLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAverage[]
*/
public function getSchoolAverages(): Collection
{
return $this->schoolAverages;
}
public function addSchoolAverage(SchoolAverage $schoolAverage): self
{
if (!$this->schoolAverages->contains($schoolAverage)) {
$this->schoolAverages[] = $schoolAverage;
$schoolAverage->setEstablishment($this);
}
return $this;
}
public function removeSchoolAverage(SchoolAverage $schoolAverage): self
{
if ($this->schoolAverages->removeElement($schoolAverage)) {
// set the owning side to null (unless already changed)
if ($schoolAverage->getEstablishment() === $this) {
$schoolAverage->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolStudentAverage[]
*/
public function getSchoolStudentAverages(): Collection
{
return $this->schoolStudentAverages;
}
public function addSchoolStudentAverage(SchoolStudentAverage $schoolStudentAverage): self
{
if (!$this->schoolStudentAverages->contains($schoolStudentAverage)) {
$this->schoolStudentAverages[] = $schoolStudentAverage;
$schoolStudentAverage->setEstablishment($this);
}
return $this;
}
public function removeSchoolStudentAverage(SchoolStudentAverage $schoolStudentAverage): self
{
if ($this->schoolStudentAverages->removeElement($schoolStudentAverage)) {
// set the owning side to null (unless already changed)
if ($schoolStudentAverage->getEstablishment() === $this) {
$schoolStudentAverage->setEstablishment(null);
}
}
return $this;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(?string $city): self
{
$this->city = $city;
return $this;
}
/**
* @return Collection|SchoolCertificate[]
*/
public function getSchoolCertificates(): Collection
{
return $this->schoolCertificates;
}
public function addSchoolCertificate(SchoolCertificate $schoolCertificate): self
{
if (!$this->schoolCertificates->contains($schoolCertificate)) {
$this->schoolCertificates[] = $schoolCertificate;
$schoolCertificate->setEstablishment($this);
}
return $this;
}
public function removeSchoolCertificate(SchoolCertificate $schoolCertificate): self
{
if ($this->schoolCertificates->removeElement($schoolCertificate)) {
// set the owning side to null (unless already changed)
if ($schoolCertificate->getEstablishment() === $this) {
$schoolCertificate->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolCertificateLine[]
*/
public function getSchoolCertificateLines(): Collection
{
return $this->schoolCertificateLines;
}
public function addSchoolCertificateLine(SchoolCertificateLine $schoolCertificateLine): self
{
if (!$this->schoolCertificateLines->contains($schoolCertificateLine)) {
$this->schoolCertificateLines[] = $schoolCertificateLine;
$schoolCertificateLine->setEstablishment($this);
}
return $this;
}
public function removeSchoolCertificateLine(SchoolCertificateLine $schoolCertificateLine): self
{
if ($this->schoolCertificateLines->removeElement($schoolCertificateLine)) {
// set the owning side to null (unless already changed)
if ($schoolCertificateLine->getEstablishment() === $this) {
$schoolCertificateLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|NurseryTimeSheet[]
*/
public function getNurseryTimeSheets(): Collection
{
return $this->nurseryTimeSheets;
}
public function addNurseryTimeSheet(NurseryTimeSheet $nurseryTimeSheet): self
{
if (!$this->nurseryTimeSheets->contains($nurseryTimeSheet)) {
$this->nurseryTimeSheets[] = $nurseryTimeSheet;
$nurseryTimeSheet->setEstablishment($this);
}
return $this;
}
public function removeNurseryTimeSheet(NurseryTimeSheet $nurseryTimeSheet): self
{
if ($this->nurseryTimeSheets->removeElement($nurseryTimeSheet)) {
// set the owning side to null (unless already changed)
if ($nurseryTimeSheet->getEstablishment() === $this) {
$nurseryTimeSheet->setEstablishment(null);
}
}
return $this;
}
public function getStamp(): ?string
{
return $this->stamp;
}
public function setStamp(?string $stamp): self
{
$this->stamp = $stamp;
return $this;
}
public function getBadgeColor(): ?string
{
return $this->badge_color;
}
public function setBadgeColor(?string $badge_color): self
{
$this->badge_color = $badge_color;
return $this;
}
/**
* @return Collection|SettingRoom[]
*/
public function getSettingRooms(): Collection
{
return $this->settingRooms;
}
public function addSettingRoom(SettingRoom $settingRoom): self
{
if (!$this->settingRooms->contains($settingRoom)) {
$this->settingRooms[] = $settingRoom;
$settingRoom->setEstablishment($this);
}
return $this;
}
public function removeSettingRoom(SettingRoom $settingRoom): self
{
if ($this->settingRooms->removeElement($settingRoom)) {
// set the owning side to null (unless already changed)
if ($settingRoom->getEstablishment() === $this) {
$settingRoom->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SettingTimeTable[]
*/
public function getSettingTimeTables(): Collection
{
return $this->settingTimeTables;
}
public function addSettingTimeTable(SettingTimeTable $settingTimeTable): self
{
if (!$this->settingTimeTables->contains($settingTimeTable)) {
$this->settingTimeTables[] = $settingTimeTable;
$settingTimeTable->setEstablishment($this);
}
return $this;
}
public function removeSettingTimeTable(SettingTimeTable $settingTimeTable): self
{
if ($this->settingTimeTables->removeElement($settingTimeTable)) {
// set the owning side to null (unless already changed)
if ($settingTimeTable->getEstablishment() === $this) {
$settingTimeTable->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolWorkingTime[]
*/
public function getSchoolWorkingTimes(): Collection
{
return $this->schoolWorkingTimes;
}
public function addSchoolWorkingTime(SchoolWorkingTime $schoolWorkingTime): self
{
if (!$this->schoolWorkingTimes->contains($schoolWorkingTime)) {
$this->schoolWorkingTimes[] = $schoolWorkingTime;
$schoolWorkingTime->setEstablishment($this);
}
return $this;
}
public function removeSchoolWorkingTime(SchoolWorkingTime $schoolWorkingTime): self
{
if ($this->schoolWorkingTimes->removeElement($schoolWorkingTime)) {
// set the owning side to null (unless already changed)
if ($schoolWorkingTime->getEstablishment() === $this) {
$schoolWorkingTime->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolWorkingTimeHourLesson[]
*/
public function getSchoolWorkingTimeHourLessons(): Collection
{
return $this->schoolWorkingTimeHourLessons;
}
public function addSchoolWorkingTimeHourLesson(SchoolWorkingTimeHourLesson $schoolWorkingTimeHourLesson): self
{
if (!$this->schoolWorkingTimeHourLessons->contains($schoolWorkingTimeHourLesson)) {
$this->schoolWorkingTimeHourLessons[] = $schoolWorkingTimeHourLesson;
$schoolWorkingTimeHourLesson->setEstablishment($this);
}
return $this;
}
public function removeSchoolWorkingTimeHourLesson(SchoolWorkingTimeHourLesson $schoolWorkingTimeHourLesson): self
{
if ($this->schoolWorkingTimeHourLessons->removeElement($schoolWorkingTimeHourLesson)) {
// set the owning side to null (unless already changed)
if ($schoolWorkingTimeHourLesson->getEstablishment() === $this) {
$schoolWorkingTimeHourLesson->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|MobileParentAppAccount[]
*/
public function getMobileParentAppAccounts(): Collection
{
return $this->mobileParentAppAccounts;
}
public function addMobileParentAppAccount(MobileParentAppAccount $mobileParentAppAccount): self
{
if (!$this->mobileParentAppAccounts->contains($mobileParentAppAccount)) {
$this->mobileParentAppAccounts[] = $mobileParentAppAccount;
$mobileParentAppAccount->setEstablishment($this);
}
return $this;
}
public function removeMobileParentAppAccount(MobileParentAppAccount $mobileParentAppAccount): self
{
if ($this->mobileParentAppAccounts->removeElement($mobileParentAppAccount)) {
// set the owning side to null (unless already changed)
if ($mobileParentAppAccount->getEstablishment() === $this) {
$mobileParentAppAccount->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|FoundingNotification[]
*/
public function getFoundingNotifications(): Collection
{
return $this->foundingNotifications;
}
public function addFoundingNotification(FoundingNotification $foundingNotification): self
{
if (!$this->foundingNotifications->contains($foundingNotification)) {
$this->foundingNotifications[] = $foundingNotification;
$foundingNotification->setEstablishment($this);
}
return $this;
}
public function removeFoundingNotification(FoundingNotification $foundingNotification): self
{
if ($this->foundingNotifications->removeElement($foundingNotification)) {
// set the owning side to null (unless already changed)
if ($foundingNotification->getEstablishment() === $this) {
$foundingNotification->setEstablishment(null);
}
}
return $this;
}
public function getSmsBankPayment(): ?string
{
return $this->sms_bank_payment;
}
public function setSmsBankPayment(?string $sms_bank_payment): self
{
$this->sms_bank_payment = $sms_bank_payment;
return $this;
}
/**
* @return Collection|EquivalentMatter[]
*/
public function getEquivalentMatters(): Collection
{
return $this->equivalentMatters;
}
public function addEquivalentMatter(EquivalentMatter $equivalentMatter): self
{
if (!$this->equivalentMatters->contains($equivalentMatter)) {
$this->equivalentMatters[] = $equivalentMatter;
$equivalentMatter->setEstablishment($this);
}
return $this;
}
public function removeEquivalentMatter(EquivalentMatter $equivalentMatter): self
{
if ($this->equivalentMatters->removeElement($equivalentMatter)) {
// set the owning side to null (unless already changed)
if ($equivalentMatter->getEstablishment() === $this) {
$equivalentMatter->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolTeacherCallSheet[]
*/
public function getSchoolTeacherCallSheets(): Collection
{
return $this->schoolTeacherCallSheets;
}
public function addSchoolTeacherCallSheet(SchoolTeacherCallSheet $schoolTeacherCallSheet): self
{
if (!$this->schoolTeacherCallSheets->contains($schoolTeacherCallSheet)) {
$this->schoolTeacherCallSheets[] = $schoolTeacherCallSheet;
$schoolTeacherCallSheet->setEstablishment($this);
}
return $this;
}
public function removeSchoolTeacherCallSheet(SchoolTeacherCallSheet $schoolTeacherCallSheet): self
{
if ($this->schoolTeacherCallSheets->removeElement($schoolTeacherCallSheet)) {
// set the owning side to null (unless already changed)
if ($schoolTeacherCallSheet->getEstablishment() === $this) {
$schoolTeacherCallSheet->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolTeacherCallSheetLine[]
*/
public function getSchoolTeacherCallSheetLines(): Collection
{
return $this->schoolTeacherCallSheetLines;
}
public function addSchoolTeacherCallSheetLine(SchoolTeacherCallSheetLine $schoolTeacherCallSheetLine): self
{
if (!$this->schoolTeacherCallSheetLines->contains($schoolTeacherCallSheetLine)) {
$this->schoolTeacherCallSheetLines[] = $schoolTeacherCallSheetLine;
$schoolTeacherCallSheetLine->setEstablishment($this);
}
return $this;
}
public function removeSchoolTeacherCallSheetLine(SchoolTeacherCallSheetLine $schoolTeacherCallSheetLine): self
{
if ($this->schoolTeacherCallSheetLines->removeElement($schoolTeacherCallSheetLine)) {
// set the owning side to null (unless already changed)
if ($schoolTeacherCallSheetLine->getEstablishment() === $this) {
$schoolTeacherCallSheetLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolTeacherMatterClassroom[]
*/
public function getSchoolTeacherMatterClassrooms(): Collection
{
return $this->schoolTeacherMatterClassrooms;
}
public function addSchoolTeacherMatterClassroom(SchoolTeacherMatterClassroom $schoolTeacherMatterClassroom): self
{
if (!$this->schoolTeacherMatterClassrooms->contains($schoolTeacherMatterClassroom)) {
$this->schoolTeacherMatterClassrooms[] = $schoolTeacherMatterClassroom;
$schoolTeacherMatterClassroom->setEstablishment($this);
}
return $this;
}
public function removeSchoolTeacherMatterClassroom(SchoolTeacherMatterClassroom $schoolTeacherMatterClassroom): self
{
if ($this->schoolTeacherMatterClassrooms->removeElement($schoolTeacherMatterClassroom)) {
// set the owning side to null (unless already changed)
if ($schoolTeacherMatterClassroom->getEstablishment() === $this) {
$schoolTeacherMatterClassroom->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhSalarySalaryAccessory[]
*/
public function getRhSalarySalaryAccessories(): Collection
{
return $this->rhSalarySalaryAccessories;
}
public function addRhSalarySalaryAccessory(RhSalarySalaryAccessory $rhSalarySalaryAccessory): self
{
if (!$this->rhSalarySalaryAccessories->contains($rhSalarySalaryAccessory)) {
$this->rhSalarySalaryAccessories[] = $rhSalarySalaryAccessory;
$rhSalarySalaryAccessory->setEstablishment($this);
}
return $this;
}
public function removeRhSalarySalaryAccessory(RhSalarySalaryAccessory $rhSalarySalaryAccessory): self
{
if ($this->rhSalarySalaryAccessories->removeElement($rhSalarySalaryAccessory)) {
// set the owning side to null (unless already changed)
if ($rhSalarySalaryAccessory->getEstablishment() === $this) {
$rhSalarySalaryAccessory->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhSalaryPaySlipPayment[]
*/
public function getRhSalaryPaySlipPayments(): Collection
{
return $this->rhSalaryPaySlipPayments;
}
public function addRhSalaryPaySlipPayment(RhSalaryPaySlipPayment $rhSalaryPaySlipPayment): self
{
if (!$this->rhSalaryPaySlipPayments->contains($rhSalaryPaySlipPayment)) {
$this->rhSalaryPaySlipPayments[] = $rhSalaryPaySlipPayment;
$rhSalaryPaySlipPayment->setEstablishment($this);
}
return $this;
}
public function removeRhSalaryPaySlipPayment(RhSalaryPaySlipPayment $rhSalaryPaySlipPayment): self
{
if ($this->rhSalaryPaySlipPayments->removeElement($rhSalaryPaySlipPayment)) {
// set the owning side to null (unless already changed)
if ($rhSalaryPaySlipPayment->getEstablishment() === $this) {
$rhSalaryPaySlipPayment->setEstablishment(null);
}
}
return $this;
}
// repartition par age
public function repartitionByLevelBirthday(SchoolYear $schoolYear, $age, $gender = null, $red = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear) {
if (null == $red) {
if (null == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) == $age){
$registereds->add($studentRegistration);
}
}
}else {
if ($studentRegistration->getStudent()->getGender() == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) == $age){
$registereds->add($studentRegistration);
}
}
}
}
}else{
if ($studentRegistration->getIsRedoubling() == $red) {
if (null == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) == $age){
$registereds->add($studentRegistration);
}
}
}else {
if ($studentRegistration->getStudent()->getGender() == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) == $age){
$registereds->add($studentRegistration);
}
}
}
}
}
}
}
}
}
return $registereds;
}
public function repartitionMinusByLevelBirthday(SchoolYear $schoolYear, $age, $gender = null, $red = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear) {
if (null == $red) {
if (null == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) < $age){
$registereds->add($studentRegistration);
}
}
}else {
if ($studentRegistration->getStudent()->getGender() == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) < $age){
$registereds->add($studentRegistration);
}
}
}
}
}else{
if ($studentRegistration->getIsRedoubling() == $red) {
if (null == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) < $age){
$registereds->add($studentRegistration);
}
}
}else {
if ($studentRegistration->getStudent()->getGender() == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) < $age){
$registereds->add($studentRegistration);
}
}
}
}
}
}
}
}
}
return $registereds;
}
public function repartitionPlusByLevelBirthday(SchoolYear $schoolYear, $age, $gender = null, $red = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear) {
if (null == $red) {
if (null == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) > $age){
$registereds->add($studentRegistration);
}
}
}else {
if ($studentRegistration->getStudent()->getGender() == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) > $age){
$registereds->add($studentRegistration);
}
}
}
}
}else{
if ($studentRegistration->getIsRedoubling() == $red) {
if (null == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) > $age){
$registereds->add($studentRegistration);
}
}
}else {
if ($studentRegistration->getStudent()->getGender() == $gender) {
if ($studentRegistration->getStudent()->getBirthday() != null) {
if(SalaryManage::MyYearDiff($studentRegistration->getStudent()->getBirthday(), new DateTimeImmutable()) > $age){
$registereds->add($studentRegistration);
}
}
}
}
}
}
}
}
}
return $registereds;
}
public function getDiet(SchoolYear $schoolYear, $gender = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear && $studentRegistration->getIsDiet()) {
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}
}
}
return $registereds;
}
public function registeredByGender(SchoolYear $schoolYear, $gender = null, $red = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear) {
if(null == $red){
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}else{
if($red == $studentRegistration->getIsRedoubling()){
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}
}
}
}
}
return $registereds;
}
public function registeredIvByGender(SchoolYear $schoolYear, $gender = null, $red = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear) {
if(strtoupper(substr($studentRegistration->getStudent()->getNationality(), 0, 2)) == 'IV'){
if(null == $red){
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}else{
if($red == $studentRegistration->getIsRedoubling()){
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}
}
}
}
}
}
return $registereds;
}
public function registeredEtByGender(SchoolYear $schoolYear, $gender = null, $red = null){
$registereds = new ArrayCollection();
foreach ($this->getSettingClassrooms() as $key => $settingClassroom) {
foreach ($settingClassroom->getRegistrationStudentRegistrations() as $key => $studentRegistration) {
if ($studentRegistration->getSchoolYear() == $schoolYear) {
if(strtoupper(substr($studentRegistration->getStudent()->getNationality(), 0, 2)) != 'IV'){
if(null == $red){
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}else{
if($red == $studentRegistration->getIsRedoubling()){
if(null == $gender){
$registereds->add($studentRegistration);
}else{
if ($studentRegistration->getStudent()->getGender() == $gender) {
$registereds->add($studentRegistration);
}
}
}
}
}
}
}
}
return $registereds;
}
public function getShortName(): ?string
{
return $this->short_name;
}
public function setShortName(?string $short_name): self
{
$this->short_name = $short_name;
return $this;
}
/**
* @return Collection|RhSalaryContract[]
*/
public function getRhSalaryContracts(): Collection
{
return $this->rhSalaryContracts;
}
public function addRhSalaryContract(RhSalaryContract $rhSalaryContract): self
{
if (!$this->rhSalaryContracts->contains($rhSalaryContract)) {
$this->rhSalaryContracts[] = $rhSalaryContract;
$rhSalaryContract->setEstablishment($this);
}
return $this;
}
public function removeRhSalaryContract(RhSalaryContract $rhSalaryContract): self
{
if ($this->rhSalaryContracts->removeElement($rhSalaryContract)) {
// set the owning side to null (unless already changed)
if ($rhSalaryContract->getEstablishment() === $this) {
$rhSalaryContract->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhSalaryContractItem[]
*/
public function getRhSalaryContractItems(): Collection
{
return $this->rhSalaryContractItems;
}
public function addRhSalaryContractItem(RhSalaryContractItem $rhSalaryContractItem): self
{
if (!$this->rhSalaryContractItems->contains($rhSalaryContractItem)) {
$this->rhSalaryContractItems[] = $rhSalaryContractItem;
$rhSalaryContractItem->setEstablishment($this);
}
return $this;
}
public function removeRhSalaryContractItem(RhSalaryContractItem $rhSalaryContractItem): self
{
if ($this->rhSalaryContractItems->removeElement($rhSalaryContractItem)) {
// set the owning side to null (unless already changed)
if ($rhSalaryContractItem->getEstablishment() === $this) {
$rhSalaryContractItem->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolTeacherTimeSheet[]
*/
public function getSchoolTeacherTimeSheets(): Collection
{
return $this->schoolTeacherTimeSheets;
}
public function addSchoolTeacherTimeSheet(SchoolTeacherTimeSheet $schoolTeacherTimeSheet): self
{
if (!$this->schoolTeacherTimeSheets->contains($schoolTeacherTimeSheet)) {
$this->schoolTeacherTimeSheets[] = $schoolTeacherTimeSheet;
$schoolTeacherTimeSheet->setEstablishment($this);
}
return $this;
}
public function removeSchoolTeacherTimeSheet(SchoolTeacherTimeSheet $schoolTeacherTimeSheet): self
{
if ($this->schoolTeacherTimeSheets->removeElement($schoolTeacherTimeSheet)) {
// set the owning side to null (unless already changed)
if ($schoolTeacherTimeSheet->getEstablishment() === $this) {
$schoolTeacherTimeSheet->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingExpenseCategory[]
*/
public function getAccountingExpenseCategories(): Collection
{
return $this->accountingExpenseCategories;
}
public function addAccountingExpenseCategory(AccountingExpenseCategory $accountingExpenseCategory): self
{
if (!$this->accountingExpenseCategories->contains($accountingExpenseCategory)) {
$this->accountingExpenseCategories[] = $accountingExpenseCategory;
$accountingExpenseCategory->setEstablishment($this);
}
return $this;
}
public function removeAccountingExpenseCategory(AccountingExpenseCategory $accountingExpenseCategory): self
{
if ($this->accountingExpenseCategories->removeElement($accountingExpenseCategory)) {
// set the owning side to null (unless already changed)
if ($accountingExpenseCategory->getEstablishment() === $this) {
$accountingExpenseCategory->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolAssessment[]
*/
public function getSchoolAssessments(): Collection
{
return $this->schoolAssessments;
}
public function addSchoolAssessment(SchoolAssessment $schoolAssessment): self
{
if (!$this->schoolAssessments->contains($schoolAssessment)) {
$this->schoolAssessments[] = $schoolAssessment;
$schoolAssessment->setEstablishment($this);
}
return $this;
}
public function removeSchoolAssessment(SchoolAssessment $schoolAssessment): self
{
if ($this->schoolAssessments->removeElement($schoolAssessment)) {
// set the owning side to null (unless already changed)
if ($schoolAssessment->getEstablishment() === $this) {
$schoolAssessment->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhSalaryCredit[]
*/
public function getRhSalaryCredits(): Collection
{
return $this->rhSalaryCredits;
}
public function addRhSalaryCredit(RhSalaryCredit $rhSalaryCredit): self
{
if (!$this->rhSalaryCredits->contains($rhSalaryCredit)) {
$this->rhSalaryCredits[] = $rhSalaryCredit;
$rhSalaryCredit->setEstablishment($this);
}
return $this;
}
public function removeRhSalaryCredit(RhSalaryCredit $rhSalaryCredit): self
{
if ($this->rhSalaryCredits->removeElement($rhSalaryCredit)) {
// set the owning side to null (unless already changed)
if ($rhSalaryCredit->getEstablishment() === $this) {
$rhSalaryCredit->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|RhSalaryCreditShedul[]
*/
public function getRhSalaryCreditSheduls(): Collection
{
return $this->rhSalaryCreditSheduls;
}
public function addRhSalaryCreditShedul(RhSalaryCreditShedul $rhSalaryCreditShedul): self
{
if (!$this->rhSalaryCreditSheduls->contains($rhSalaryCreditShedul)) {
$this->rhSalaryCreditSheduls[] = $rhSalaryCreditShedul;
$rhSalaryCreditShedul->setEstablishment($this);
}
return $this;
}
public function removeRhSalaryCreditShedul(RhSalaryCreditShedul $rhSalaryCreditShedul): self
{
if ($this->rhSalaryCreditSheduls->removeElement($rhSalaryCreditShedul)) {
// set the owning side to null (unless already changed)
if ($rhSalaryCreditShedul->getEstablishment() === $this) {
$rhSalaryCreditShedul->setEstablishment(null);
}
}
return $this;
}
public function getParent(): ?self
{
return $this->parent;
}
public function setParent(?self $parent): self
{
$this->parent = $parent;
return $this;
}
/**
* @return Collection|self[]
*/
public function getChildEstablishments(): Collection
{
return $this->childEstablishments;
}
public function addChildEstablishment(self $childEstablishment): self
{
if (!$this->childEstablishments->contains($childEstablishment)) {
$this->childEstablishments[] = $childEstablishment;
$childEstablishment->setParent($this);
}
return $this;
}
public function removeChildEstablishment(self $childEstablishment): self
{
if ($this->childEstablishments->removeElement($childEstablishment)) {
// set the owning side to null (unless already changed)
if ($childEstablishment->getParent() === $this) {
$childEstablishment->setParent(null);
}
}
return $this;
}
/**
* @return Collection|SettingFeeProviderDistribution[]
*/
public function getSettingFeeProviderDistributions(): Collection
{
return $this->settingFeeProviderDistributions;
}
public function addSettingFeeProviderDistribution(SettingFeeProviderDistribution $settingFeeProviderDistribution): self
{
if (!$this->settingFeeProviderDistributions->contains($settingFeeProviderDistribution)) {
$this->settingFeeProviderDistributions[] = $settingFeeProviderDistribution;
$settingFeeProviderDistribution->setEstablishment($this);
}
return $this;
}
public function removeSettingFeeProviderDistribution(SettingFeeProviderDistribution $settingFeeProviderDistribution): self
{
if ($this->settingFeeProviderDistributions->removeElement($settingFeeProviderDistribution)) {
// set the owning side to null (unless already changed)
if ($settingFeeProviderDistribution->getEstablishment() === $this) {
$settingFeeProviderDistribution->setEstablishment(null);
}
}
return $this;
}
public function getSmsRecovery(): ?string
{
return $this->sms_recovery;
}
public function setSmsRecovery(?string $sms_recovery): self
{
$this->sms_recovery = $sms_recovery;
return $this;
}
public function getOciSmsSender(): ?string
{
return $this->oci_sms_sender;
}
public function setOciSmsSender(string $oci_sms_sender): self
{
$this->oci_sms_sender = $oci_sms_sender;
return $this;
}
public function getSmsGateway(): ?string
{
return $this->sms_gateway;
}
public function setSmsGateway(string $sms_gateway): self
{
$this->sms_gateway = $sms_gateway;
return $this;
}
/**
* @return Collection|AccountingChequeTracking[]
*/
public function getAccountingChequeTrackings(): Collection
{
return $this->accountingChequeTrackings;
}
public function addAccountingChequeTracking(AccountingChequeTracking $accountingChequeTracking): self
{
if (!$this->accountingChequeTrackings->contains($accountingChequeTracking)) {
$this->accountingChequeTrackings[] = $accountingChequeTracking;
$accountingChequeTracking->setEstablishment($this);
}
return $this;
}
public function removeAccountingChequeTracking(AccountingChequeTracking $accountingChequeTracking): self
{
if ($this->accountingChequeTrackings->removeElement($accountingChequeTracking)) {
// set the owning side to null (unless already changed)
if ($accountingChequeTracking->getEstablishment() === $this) {
$accountingChequeTracking->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|AccountingChequeTrackingLine[]
*/
public function getAccountingChequeTrackingLines(): Collection
{
return $this->accountingChequeTrackingLines;
}
public function addAccountingChequeTrackingLine(AccountingChequeTrackingLine $accountingChequeTrackingLine): self
{
if (!$this->accountingChequeTrackingLines->contains($accountingChequeTrackingLine)) {
$this->accountingChequeTrackingLines[] = $accountingChequeTrackingLine;
$accountingChequeTrackingLine->setEstablishment($this);
}
return $this;
}
public function removeAccountingChequeTrackingLine(AccountingChequeTrackingLine $accountingChequeTrackingLine): self
{
if ($this->accountingChequeTrackingLines->removeElement($accountingChequeTrackingLine)) {
// set the owning side to null (unless already changed)
if ($accountingChequeTrackingLine->getEstablishment() === $this) {
$accountingChequeTrackingLine->setEstablishment(null);
}
}
return $this;
}
public function getIsSendAbsenceSms(): ?bool
{
return $this->is_send_absence_sms;
}
public function setIsSendAbsenceSms(bool $is_send_absence_sms): self
{
$this->is_send_absence_sms = $is_send_absence_sms;
return $this;
}
public function getWaveApiLocation(): ?string
{
return $this->wave_api_location;
}
public function setWaveApiLocation(?string $wave_api_location): self
{
$this->wave_api_location = $wave_api_location;
return $this;
}
public function getWaveApiStoreMerchantId(): ?string
{
return $this->wave_api_store_merchant_id;
}
public function setWaveApiStoreMerchantId(?string $wave_api_store_merchant_id): self
{
$this->wave_api_store_merchant_id = $wave_api_store_merchant_id;
return $this;
}
public function getWaveApiReinbursementCode(): ?string
{
return $this->wave_api_reinbursement_code;
}
public function setWaveApiReinbursementCode(?string $wave_api_reinbursement_code): self
{
$this->wave_api_reinbursement_code = $wave_api_reinbursement_code;
return $this;
}
public function getWaveApiSetupNumber(): ?string
{
return $this->wave_api_setup_number;
}
public function setWaveApiSetupNumber(?string $wave_api_setup_number): self
{
$this->wave_api_setup_number = $wave_api_setup_number;
return $this;
}
public function getWaveApiCodeSecret(): ?string
{
return $this->wave_api_code_secret;
}
public function setWaveApiCodeSecret(?string $wave_api_code_secret): self
{
$this->wave_api_code_secret = $wave_api_code_secret;
return $this;
}
/**
* @return Collection|SalaryBandScale[]
*/
public function getSalaryBandScales(): Collection
{
return $this->salaryBandScales;
}
public function addSalaryBandScale(SalaryBandScale $salaryBandScale): self
{
if (!$this->salaryBandScales->contains($salaryBandScale)) {
$this->salaryBandScales[] = $salaryBandScale;
$salaryBandScale->setEstablishment($this);
}
return $this;
}
public function removeSalaryBandScale(SalaryBandScale $salaryBandScale): self
{
if ($this->salaryBandScales->removeElement($salaryBandScale)) {
// set the owning side to null (unless already changed)
if ($salaryBandScale->getEstablishment() === $this) {
$salaryBandScale->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|TaxReductionShedule[]
*/
public function getTaxReductionShedules(): Collection
{
return $this->taxReductionShedules;
}
public function addTaxReductionShedule(TaxReductionShedule $taxReductionShedule): self
{
if (!$this->taxReductionShedules->contains($taxReductionShedule)) {
$this->taxReductionShedules[] = $taxReductionShedule;
$taxReductionShedule->setEstablishment($this);
}
return $this;
}
public function removeTaxReductionShedule(TaxReductionShedule $taxReductionShedule): self
{
if ($this->taxReductionShedules->removeElement($taxReductionShedule)) {
// set the owning side to null (unless already changed)
if ($taxReductionShedule->getEstablishment() === $this) {
$taxReductionShedule->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|LogOperation[]
*/
public function getLogOperations(): Collection
{
return $this->logOperations;
}
public function addLogOperation(LogOperation $logOperation): self
{
if (!$this->logOperations->contains($logOperation)) {
$this->logOperations[] = $logOperation;
$logOperation->setEstablishment($this);
}
return $this;
}
public function removeLogOperation(LogOperation $logOperation): self
{
if ($this->logOperations->removeElement($logOperation)) {
// set the owning side to null (unless already changed)
if ($logOperation->getEstablishment() === $this) {
$logOperation->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|SchoolReportCardAbsence[]
*/
public function getSchoolReportCardAbsences(): Collection
{
return $this->schoolReportCardAbsences;
}
public function addSchoolReportCardAbsence(SchoolReportCardAbsence $schoolReportCardAbsence): self
{
if (!$this->schoolReportCardAbsences->contains($schoolReportCardAbsence)) {
$this->schoolReportCardAbsences[] = $schoolReportCardAbsence;
$schoolReportCardAbsence->setEstablishment($this);
}
return $this;
}
public function removeSchoolReportCardAbsence(SchoolReportCardAbsence $schoolReportCardAbsence): self
{
if ($this->schoolReportCardAbsences->removeElement($schoolReportCardAbsence)) {
// set the owning side to null (unless already changed)
if ($schoolReportCardAbsence->getEstablishment() === $this) {
$schoolReportCardAbsence->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|WavePayment[]
*/
public function getWavePayments(): Collection
{
return $this->wavePayments;
}
public function addWavePayment(WavePayment $wavePayment): self
{
if (!$this->wavePayments->contains($wavePayment)) {
$this->wavePayments[] = $wavePayment;
$wavePayment->setEstablishment($this);
}
return $this;
}
public function removeWavePayment(WavePayment $wavePayment): self
{
if ($this->wavePayments->removeElement($wavePayment)) {
// set the owning side to null (unless already changed)
if ($wavePayment->getEstablishment() === $this) {
$wavePayment->setEstablishment(null);
}
}
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->setEstablishment($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->getEstablishment() === $this) {
$toxicologicalTestResult->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|ToxicologicalTestResultLine[]
*/
public function getToxicologicalTestResultLines(): Collection
{
return $this->toxicologicalTestResultLines;
}
public function addToxicologicalTestResultLine(ToxicologicalTestResultLine $toxicologicalTestResultLine): self
{
if (!$this->toxicologicalTestResultLines->contains($toxicologicalTestResultLine)) {
$this->toxicologicalTestResultLines[] = $toxicologicalTestResultLine;
$toxicologicalTestResultLine->setEstablishment($this);
}
return $this;
}
public function removeToxicologicalTestResultLine(ToxicologicalTestResultLine $toxicologicalTestResultLine): self
{
if ($this->toxicologicalTestResultLines->removeElement($toxicologicalTestResultLine)) {
// set the owning side to null (unless already changed)
if ($toxicologicalTestResultLine->getEstablishment() === $this) {
$toxicologicalTestResultLine->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|ToxicologicalTestLaboratory[]
*/
public function getToxicologicalTestLaboratories(): Collection
{
return $this->toxicologicalTestLaboratories;
}
public function addToxicologicalTestLaboratory(ToxicologicalTestLaboratory $toxicologicalTestLaboratory): self
{
if (!$this->toxicologicalTestLaboratories->contains($toxicologicalTestLaboratory)) {
$this->toxicologicalTestLaboratories[] = $toxicologicalTestLaboratory;
$toxicologicalTestLaboratory->setEstablishment($this);
}
return $this;
}
public function removeToxicologicalTestLaboratory(ToxicologicalTestLaboratory $toxicologicalTestLaboratory): self
{
if ($this->toxicologicalTestLaboratories->removeElement($toxicologicalTestLaboratory)) {
// set the owning side to null (unless already changed)
if ($toxicologicalTestLaboratory->getEstablishment() === $this) {
$toxicologicalTestLaboratory->setEstablishment(null);
}
}
return $this;
}
public function getRegionalDirectorate(): ?string
{
return $this->regional_directorate;
}
public function setRegionalDirectorate(?string $regional_directorate): self
{
$this->regional_directorate = $regional_directorate;
return $this;
}
/**
* @return Collection|SchoolTeacherAbsence[]
*/
public function getSchoolTeacherAbsences(): Collection
{
return $this->schoolTeacherAbsences;
}
public function addSchoolTeacherAbsence(SchoolTeacherAbsence $schoolTeacherAbsence): self
{
if (!$this->schoolTeacherAbsences->contains($schoolTeacherAbsence)) {
$this->schoolTeacherAbsences[] = $schoolTeacherAbsence;
$schoolTeacherAbsence->setEstablishment($this);
}
return $this;
}
public function removeSchoolTeacherAbsence(SchoolTeacherAbsence $schoolTeacherAbsence): self
{
if ($this->schoolTeacherAbsences->removeElement($schoolTeacherAbsence)) {
// set the owning side to null (unless already changed)
if ($schoolTeacherAbsence->getEstablishment() === $this) {
$schoolTeacherAbsence->setEstablishment(null);
}
}
return $this;
}
/**
* @return Collection|GescotiContribution[]
*/
public function getGescotiContributions(): Collection
{
return $this->gescotiContributions;
}
public function addGescotiContribution(GescotiContribution $gescotiContribution): self
{
if (!$this->gescotiContributions->contains($gescotiContribution)) {
$this->gescotiContributions[] = $gescotiContribution;
$gescotiContribution->setEstablishment($this);
}
return $this;
}
public function removeGescotiContribution(GescotiContribution $gescotiContribution): self
{
if ($this->gescotiContributions->removeElement($gescotiContribution)) {
// set the owning side to null (unless already changed)
if ($gescotiContribution->getEstablishment() === $this) {
$gescotiContribution->setEstablishment(null);
}
}
return $this;
}
}