*/ #[ORM\OneToMany(targetEntity: Access::class, mappedBy: 'organization', cascade: ['persist'])] private Collection $accesses; /** @var Collection */ #[ORM\OneToMany(targetEntity: NetworkOrganization::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $networkOrganizations; /** @var Collection */ #[ORM\OneToMany(targetEntity: NetworkOrganization::class, mappedBy: 'parent', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $networkOrganizationChildren; /** @var Collection */ #[ORM\OneToMany(targetEntity: EducationNotationConfig::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $educationNotationConfigs; #[ORM\OneToOne(targetEntity: Parameters::class, inversedBy: 'organization', cascade: ['persist'])] #[ORM\JoinColumn(nullable: false)] private Parameters $parameters; #[ORM\OneToOne(mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private ?BillingSetting $billingSetting = null; #[ORM\Column(type: 'text', nullable: true)] private ?string $description = null; // TODO: utile ce champs? ou c'est juste un doublon du champs 'createDate'? #[ORM\Column(type: 'date', nullable: true)] private ?\DateTimeInterface $creationDate = null; #[ORM\Column(type: 'date', nullable: true)] private ?\DateTimeInterface $declarationDate = null; #[ORM\Column(length: 14, nullable: true)] private ?string $siretNumber = null; #[ORM\Column(length: 10, nullable: true)] private ?string $waldecNumber = null; #[ORM\Column(length: 255, nullable: true)] private ?string $volumeAndFolioNumber = null; #[ORM\Column(length: 5, nullable: true)] private ?string $apeNumber = null; #[ORM\Column(length: 50, nullable: true)] private ?string $tvaNumber = null; #[ORM\Column(length: 40, nullable: true)] private ?string $otherType = null; #[ORM\Column(length: 80, nullable: true)] private ?string $acronym = null; #[ORM\Column(length: 255, nullable: true)] private ?string $facebook = null; #[ORM\Column(length: 255, nullable: true)] private ?string $twitter = null; #[ORM\Column(length: 255, nullable: true)] private ?string $youtube = null; #[ORM\Column(length: 255, nullable: true)] private ?string $instagram = null; #[ORM\Column(length: 35, nullable: true)] private ?string $collectiveAgreement = null; #[ORM\Column(length: 50, nullable: true, enumType: OpcaEnum::class)] private ?OpcaEnum $opca = null; #[ORM\Column(length: 35, nullable: true)] private ?string $icomNumber = null; #[ORM\Column(length: 35, nullable: true)] private ?string $urssafNumber = null; #[ORM\Column(length: 20, nullable: true)] private ?string $youngApproval = null; #[ORM\Column(length: 20, nullable: true)] private ?string $trainingApproval = null; #[ORM\Column(length: 50, nullable: true)] private ?string $otherApproval = null; #[ORM\Column(length: 35, nullable: true)] private ?string $prefectureName = null; #[ORM\Column(length: 20, nullable: true)] private ?string $prefectureNumber = null; #[ORM\Column(length: 50, nullable: true, enumType: CategoryEnum::class)] private ?CategoryEnum $category = null; #[ORM\Column(length: 50, nullable: true, enumType: SchoolCategoryEnum::class)] private ?SchoolCategoryEnum $schoolCategory = null; #[ORM\Column(length: 50, nullable: true, enumType: TypeEstablishmentEnum::class)] private ?TypeEstablishmentEnum $typeEstablishment = null; #[ORM\Column(length: 50, nullable: true, enumType: TypeEstablishmentDetailEnum::class)] private ?TypeEstablishmentDetailEnum $typeEstablishmentDetail = null; #[ORM\Column(nullable: true)] private ?float $budget = null; #[ORM\Column(nullable: true)] private ?bool $isPedagogicIsPrincipalActivity = null; #[ORM\Column(nullable: true)] private ?float $pedagogicBudget = null; #[ORM\Column(nullable: true)] private ?bool $isPerformanceContractor = null; #[ORM\Column(length: 20, nullable: true)] private ?string $ffecApproval = null; #[ORM\Column] private bool $portailVisibility = true; #[ORM\Column(nullable: true)] private ?int $cmsId = null; #[ORM\ManyToOne(inversedBy: 'organizationLogos')] #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')] private ?File $logo = null; #[ORM\ManyToOne(inversedBy: 'organizationImages')] #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')] private ?File $image = null; /** @var Collection */ #[ORM\ManyToMany(targetEntity: TypeOfPractice::class, mappedBy: 'organizations')] private Collection $typeOfPractices; #[ORM\Column(nullable: true)] private ?string $otherPractice = null; /** @var Collection */ #[ORM\ManyToMany(targetEntity: ContactPoint::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] private Collection $contactPoints; /** @var Collection */ #[ORM\ManyToMany(targetEntity: BankAccount::class, inversedBy: 'organization')] #[ORM\JoinColumn(name: 'organization_id', referencedColumnName: 'id', unique: true)] #[ORM\InverseJoinColumn(name: 'bankAccount_id', referencedColumnName: 'id')] private Collection $bankAccounts; /** @var Collection */ #[ORM\OneToMany(targetEntity: OrganizationAddressPostal::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $organizationAddressPostals; /** @var Collection */ #[ORM\OneToMany(targetEntity: OrganizationLicence::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $organizationLicences; /** @var Collection */ #[ORM\OneToMany(targetEntity: OrganizationArticle::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $organizationArticles; /** @var Collection */ #[ORM\OneToMany(targetEntity: Cycle::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $cycles; /** @var Collection */ #[ORM\OneToMany(targetEntity: EducationTiming::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $educationTimings; /** @var Collection */ #[ORM\OneToMany(targetEntity: Subdomain::class, mappedBy: 'organization', cascade: ['persist', 'remove'])] private Collection $subdomains; #[ORM\ManyToOne(inversedBy: 'organizationContacts')] #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')] private ?Access $contactPerson; /** @var Collection */ #[ORM\OneToMany(targetEntity: OrganizationHoliday::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $holidays; /** @var Collection */ #[ORM\OneToMany(targetEntity: Course::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $courses; /** @var Collection */ #[ORM\OneToMany(targetEntity: EducationalProject::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $educationalProjects; /** @var Collection */ #[ORM\OneToMany(targetEntity: Event::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $events; /** @var Collection */ #[ORM\OneToMany(targetEntity: Examen::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $examens; /** @var Collection */ #[ORM\OneToMany(targetEntity: CriteriaNotation::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $critereNotations; /** @var Collection */ #[ORM\OneToMany(targetEntity: EducationCategory::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $educationCategories; /** @var Collection */ #[ORM\OneToMany(targetEntity: PeriodNotation::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $periodNotations; /** @var Collection */ #[ORM\OneToMany(targetEntity: File::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $files; /** @var Collection */ #[ORM\OneToMany(targetEntity: Notification::class, mappedBy: 'recipientOrganization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $notifications; /** @var Collection */ #[ORM\OneToMany(targetEntity: Email::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $emails; /** @var Collection */ #[ORM\OneToMany(targetEntity: Mail::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $mails; /** @var Collection */ #[ORM\OneToMany(targetEntity: Sms::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $sms; /** @var Collection */ #[ORM\OneToMany(targetEntity: Activity::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $activities; /** @var Collection */ #[ORM\OneToMany(targetEntity: Jury::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $juries; /** @var Collection */ #[ORM\OneToMany(targetEntity: Commission::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $commissions; /** @var Collection */ #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Place::class, orphanRemoval: true)] private Collection $places; /** @var Collection */ #[ORM\OneToMany(targetEntity: Attendance::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $attendances; /** @var Collection */ #[ORM\OneToMany(targetEntity: Equipment::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $equipments; /** @var Collection */ #[ORM\OneToMany(targetEntity: Intangible::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $intangibles; /** @var Collection */ #[ORM\OneToMany(targetEntity: Donor::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $donors; /** @var Collection */ #[ORM\OneToMany(targetEntity: Reward::class, mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)] private Collection $rewards; // #[ORM\OneToOne()] // private OnlineRegistrationSettings $onlineRegistrationSettings; /** @var Collection */ #[ORM\ManyToMany(targetEntity: Tagg::class, inversedBy: 'organizations', cascade: ['persist'])] #[ORM\JoinTable(name: 'tag_organization')] #[ORM\JoinColumn(name: 'organization_id', referencedColumnName: 'id')] #[ORM\InverseJoinColumn(name: 'tag_id', referencedColumnName: 'id')] private Collection $tags; /** @var Collection */ #[ORM\OneToMany(targetEntity: NetworkOrganization::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] protected Collection $network; /** @var Collection */ #[ORM\OneToMany(targetEntity: NetworkOrganization::class, mappedBy: 'parent', cascade: ['persist'], orphanRemoval: true)] protected Collection $networkChild; #[ORM\OneToOne(targetEntity: BillingExportSetting::class, mappedBy: 'organization', cascade: ['persist'])] protected ?BillingExportSetting $billingExportSetting; /** @var Collection */ #[ORM\OneToMany(targetEntity: Access::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] protected Collection $access; /** @var Collection */ #[ORM\OneToMany(targetEntity: AbstractMessage::class, mappedBy: 'organization', cascade: [], orphanRemoval: true)] protected Collection $messages; #[ORM\OneToOne(targetEntity: OnlineRegistrationSettings::class, mappedBy: 'organization', cascade: ['persist'])] protected ?OnlineRegistrationSettings $onlineRegistrationSettings; /** @var Collection */ #[ORM\OneToMany(targetEntity: CotisationByYear::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] protected Collection $cotisationByYears; /** @var Collection */ #[ORM\OneToMany(targetEntity: AttendanceBookingReason::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] protected Collection $attendanceBookingReasons; /** @var Collection */ #[ORM\OneToMany(targetEntity: Cycle::class, mappedBy: 'organization', cascade: [], orphanRemoval: true)] protected Collection $educationCurriculumPacks; /** @var Collection */ #[ORM\OneToMany(targetEntity: FamilyQuotientModel::class, mappedBy: 'organization', cascade: [], orphanRemoval: true)] protected Collection $familyQuotientModels; /** @var Collection */ #[ORM\OneToMany(targetEntity: BillSchedule::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] protected Collection $billSchedules; /** @var Collection */ #[ORM\OneToMany(targetEntity: AbstractReport::class, mappedBy: 'organization', cascade: ['persist'], orphanRemoval: true)] private Collection $reports; #[Pure] public function __construct() { $this->accesses = new ArrayCollection(); $this->networkOrganizations = new ArrayCollection(); $this->networkOrganizationChildren = new ArrayCollection(); $this->typeOfPractices = new ArrayCollection(); $this->contactPoints = new ArrayCollection(); $this->bankAccounts = new ArrayCollection(); $this->organizationAddressPostals = new ArrayCollection(); $this->organizationLicences = new ArrayCollection(); $this->organizationArticles = new ArrayCollection(); $this->cycles = new ArrayCollection(); $this->educationTimings = new ArrayCollection(); $this->educationNotationConfigs = new ArrayCollection(); $this->subdomains = new ArrayCollection(); $this->holidays = new ArrayCollection(); $this->courses = new ArrayCollection(); $this->educationalProjects = new ArrayCollection(); $this->events = new ArrayCollection(); $this->examens = new ArrayCollection(); $this->critereNotations = new ArrayCollection(); $this->educationCategories = new ArrayCollection(); $this->periodNotations = new ArrayCollection(); $this->files = new ArrayCollection(); $this->notifications = new ArrayCollection(); $this->emails = new ArrayCollection(); $this->mails = new ArrayCollection(); $this->sms = new ArrayCollection(); $this->activities = new ArrayCollection(); $this->juries = new ArrayCollection(); $this->commissions = new ArrayCollection(); $this->places = new ArrayCollection(); $this->attendances = new ArrayCollection(); $this->equipments = new ArrayCollection(); $this->intangibles = new ArrayCollection(); $this->donors = new ArrayCollection(); $this->tags = new ArrayCollection(); $this->rewards = new ArrayCollection(); $this->network = new ArrayCollection(); $this->networkChild = new ArrayCollection(); $this->access = new ArrayCollection(); $this->messages = new ArrayCollection(); $this->cotisationByYears = new ArrayCollection(); $this->attendanceBookingReasons = new ArrayCollection(); $this->educationCurriculumPacks = new ArrayCollection(); $this->familyQuotientModels = new ArrayCollection(); $this->billSchedules = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getName(): string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getIdentifier(): string { return $this->identifier; } public function setIdentifier(string $identifier): self { $this->identifier = $identifier; return $this; } public function getLegalStatus(): ?LegalEnum { return $this->legalStatus; } public function setLegalStatus(?LegalEnum $legalStatus): self { $this->legalStatus = $legalStatus; return $this; } public function getPrincipalType(): ?PrincipalTypeEnum { return $this->principalType; } public function setPrincipalType(?PrincipalTypeEnum $principalType): self { $this->principalType = $principalType; return $this; } public function getSettings(): Settings { return $this->settings; } public function setSettings(Settings $settings): self { // set the owning side of the relation if necessary if ($settings->getOrganization() !== $this) { $settings->setOrganization($this); } $this->settings = $settings; return $this; } public function getAccesses(): Collection { return $this->accesses; } public function addAccess(Access $access): self { if (!$this->access->contains($access)) { $this->access[] = $access; $access->setOrganization($this); } return $this; } public function removeAccess(Access $access): self { if ($this->access->removeElement($access)) { $access->setOrganization(null); } return $this; } public function getNetworkOrganizations(): Collection { return $this->networkOrganizations; } public function addNetworkOrganization(NetworkOrganization $networkOrganization): self { if (!$this->networkOrganizations->contains($networkOrganization)) { $this->networkOrganizations[] = $networkOrganization; $networkOrganization->setOrganization($this); } return $this; } public function removeNetworkOrganization(NetworkOrganization $networkOrganization): self { if ($this->networkOrganizations->removeElement($networkOrganization)) { // set the owning side to null (unless already changed) if ($networkOrganization->getOrganization() === $this) { $networkOrganization->setOrganization(null); } } return $this; } public function getNetworkOrganizationChildren(): Collection { return $this->networkOrganizationChildren; } public function addNetworkOrganizationChild(NetworkOrganization $networkOrganizationChild): self { if (!$this->networkOrganizationChildren->contains($networkOrganizationChild)) { $this->networkOrganizationChildren[] = $networkOrganizationChild; $networkOrganizationChild->setParent($this); } return $this; } public function removeNetworkOrganizationChild(NetworkOrganization $networkOrganizationChild): self { if ($this->networkOrganizationChildren->removeElement($networkOrganizationChild)) { // set the owning side to null (unless already changed) if ($networkOrganizationChild->getParent() === $this) { $networkOrganizationChild->setParent(null); } } return $this; } public function getParameters(): Parameters { return $this->parameters; } public function setParameters(Parameters $parameters): self { $this->parameters = $parameters; return $this; } public function getLogo(): ?File { return $this->logo; } public function setLogo(?File $logo): void { $this->logo = $logo; } public function getBillingSetting(): BillingSetting { return $this->billingSetting; } public function setBillingSetting(BillingSetting $billingSetting): self { $this->billingSetting = $billingSetting; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getCreationDate(): ?\DateTimeInterface { return $this->creationDate; } public function setCreationDate(?\DateTimeInterface $creationDate): self { $this->creationDate = $creationDate; return $this; } public function getDeclarationDate(): ?\DateTimeInterface { return $this->declarationDate; } public function setDeclarationDate(?\DateTimeInterface $declarationDate): self { $this->declarationDate = $declarationDate; return $this; } public function getSiretNumber(): ?string { return $this->siretNumber; } public function setSiretNumber(?string $siretNumber): self { $this->siretNumber = $siretNumber; return $this; } public function getWaldecNumber(): ?string { return $this->waldecNumber; } public function setWaldecNumber(?string $waldecNumber): self { $this->waldecNumber = $waldecNumber; return $this; } public function getVolumeAndFolioNumber(): ?string { return $this->volumeAndFolioNumber; } public function setVolumeAndFolioNumber(?string $volumeAndFolioNumber): self { $this->volumeAndFolioNumber = $volumeAndFolioNumber; return $this; } public function getApeNumber(): ?string { return $this->apeNumber; } public function setApeNumber(?string $apeNumber): self { $this->apeNumber = $apeNumber; return $this; } public function getTvaNumber(): ?string { return $this->tvaNumber; } public function setTvaNumber(?string $tvaNumber): self { $this->tvaNumber = $tvaNumber; return $this; } public function getOtherType(): ?string { return $this->otherType; } public function setOtherType(?string $otherType): self { $this->otherType = $otherType; return $this; } public function getAcronym(): ?string { return $this->acronym; } public function setAcronym(?string $acronym): self { $this->acronym = $acronym; return $this; } public function getFacebook(): ?string { return $this->facebook; } public function setFacebook(?string $facebook): self { $this->facebook = $facebook; return $this; } public function getTwitter(): ?string { return $this->twitter; } public function setTwitter(?string $twitter): self { $this->twitter = $twitter; return $this; } public function getYoutube(): ?string { return $this->youtube; } public function setYoutube(?string $youtube): self { $this->youtube = $youtube; return $this; } public function getInstagram(): ?string { return $this->instagram; } public function setInstagram(?string $instagram): self { $this->instagram = $instagram; return $this; } public function getCollectiveAgreement(): ?string { return $this->collectiveAgreement; } public function setCollectiveAgreement(?string $collectiveAgreement): self { $this->collectiveAgreement = $collectiveAgreement; return $this; } public function getOpca(): ?OpcaEnum { return $this->opca; } public function setOpca(?OpcaEnum $opca): self { $this->opca = $opca; return $this; } public function getIcomNumber(): ?string { return $this->icomNumber; } public function setIcomNumber(?string $icomNumber): self { $this->icomNumber = $icomNumber; return $this; } public function getUrssafNumber(): ?string { return $this->urssafNumber; } public function setUrssafNumber(?string $urssafNumber): self { $this->urssafNumber = $urssafNumber; return $this; } public function getYoungApproval(): ?string { return $this->youngApproval; } public function setYoungApproval(?string $youngApproval): self { $this->youngApproval = $youngApproval; return $this; } public function getTrainingApproval(): ?string { return $this->trainingApproval; } public function setTrainingApproval(?string $trainingApproval): self { $this->trainingApproval = $trainingApproval; return $this; } public function getOtherApproval(): ?string { return $this->otherApproval; } public function setOtherApproval(?string $otherApproval): self { $this->otherApproval = $otherApproval; return $this; } public function getPrefectureName(): ?string { return $this->prefectureName; } public function setPrefectureName(?string $prefectureName): self { $this->prefectureName = $prefectureName; return $this; } public function getPrefectureNumber(): ?string { return $this->prefectureNumber; } public function setPrefectureNumber(?string $prefectureNumber): self { $this->prefectureNumber = $prefectureNumber; return $this; } public function getCategory(): ?CategoryEnum { return $this->category; } public function setCategory(?CategoryEnum $category): self { $this->category = $category; return $this; } public function getSchoolCategory(): ?SchoolCategoryEnum { return $this->schoolCategory; } public function setSchoolCategory(?SchoolCategoryEnum $schoolCategory): self { $this->schoolCategory = $schoolCategory; return $this; } public function getTypeEstablishment(): ?TypeEstablishmentEnum { return $this->typeEstablishment; } public function setTypeEstablishment(?TypeEstablishmentEnum $typeEstablishment): self { $this->typeEstablishment = $typeEstablishment; return $this; } public function getTypeEstablishmentDetail(): ?TypeEstablishmentDetailEnum { return $this->typeEstablishmentDetail; } public function setTypeEstablishmentDetail(?TypeEstablishmentDetailEnum $typeEstablishmentDetail): self { $this->typeEstablishmentDetail = $typeEstablishmentDetail; return $this; } public function getBudget(): ?float { return $this->budget; } public function setBudget(?float $budget): self { $this->budget = $budget; return $this; } public function getIsPedagogicIsPrincipalActivity(): ?bool { return $this->isPedagogicIsPrincipalActivity; } public function setIsPedagogicIsPrincipalActivity(?bool $isPedagogicIsPrincipalActivity): self { $this->isPedagogicIsPrincipalActivity = $isPedagogicIsPrincipalActivity; return $this; } public function getPedagogicBudget(): ?float { return $this->pedagogicBudget; } public function setPedagogicBudget(?float $pedagogicBudget): self { $this->pedagogicBudget = $pedagogicBudget; return $this; } public function getIsPerformanceContractor(): ?bool { return $this->isPerformanceContractor; } public function setIsPerformanceContractor(?bool $isPerformanceContractor): self { $this->isPerformanceContractor = $isPerformanceContractor; return $this; } public function getFfecApproval(): ?string { return $this->ffecApproval; } public function setFfecApproval(?string $ffecApproval): self { $this->ffecApproval = $ffecApproval; return $this; } public function getPortailVisibility(): bool { return $this->portailVisibility; } public function setPortailVisibility(bool $portailVisibility): self { $this->portailVisibility = $portailVisibility; return $this; } public function getCmsId(): ?int { return $this->cmsId; } public function setCmsId(?int $cmsId): self { $this->cmsId = $cmsId; return $this; } public function setImage(?File $image): self { $this->image = $image; return $this; } public function getImage(): ?File { return $this->image; } public function getTypeOfPractices(): Collection { return $this->typeOfPractices; } public function addTypeOfPractice(TypeOfPractice $typeOfPractice): self { if (!$this->typeOfPractices->contains($typeOfPractice)) { $this->typeOfPractices[] = $typeOfPractice; $typeOfPractice->addOrganization($this); } return $this; } public function removeTypeOfPractice(TypeOfPractice $typeOfPractice): self { if ($this->typeOfPractices->removeElement($typeOfPractice)) { $typeOfPractice->removeOrganization($this); } return $this; } public function getOtherPractice(): ?string { return $this->otherPractice; } public function setOtherPractice(?string $otherPractice): self { $this->otherPractice = $otherPractice; return $this; } public function getContactPoints(): Collection { return $this->contactPoints; } public function addContactPoint(ContactPoint $contactPoint): self { if (!$this->contactPoints->contains($contactPoint)) { $this->contactPoints[] = $contactPoint; $contactPoint->addOrganization($this); } return $this; } public function removeContactPoint(ContactPoint $contactPoint): self { if ($this->contactPoints->removeElement($contactPoint)) { $contactPoint->removeOrganization($this); } return $this; } public function getBankAccounts(): Collection { return $this->bankAccounts; } public function addBankAccount(BankAccount $bankAccount): self { if (!$this->bankAccounts->contains($bankAccount)) { $this->bankAccounts[] = $bankAccount; $bankAccount->addOrganization($this); } return $this; } public function removeBankAccount(BankAccount $bankAccount): self { if ($this->bankAccounts->removeElement($bankAccount)) { $bankAccount->removeOrganization($this); } return $this; } public function getOrganizationAddressPostals(): Collection { return $this->organizationAddressPostals; } public function addOrganizationAddressPostal(OrganizationAddressPostal $organizationAddressPostal): self { if (!$this->organizationAddressPostals->contains($organizationAddressPostal)) { $this->organizationAddressPostals[] = $organizationAddressPostal; $organizationAddressPostal->setOrganization($this); } return $this; } public function removeOrganizationAddressPostal(OrganizationAddressPostal $organizationAddressPostal): self { if ($this->organizationAddressPostals->removeElement($organizationAddressPostal)) { // set the owning side to null (unless already changed) if ($organizationAddressPostal->getOrganization() === $this) { $organizationAddressPostal->setOrganization(null); } } return $this; } public function getOrganizationLicences(): Collection { return $this->organizationLicences; } public function addOrganizationLicence(OrganizationLicence $organizationLicence): self { if (!$this->organizationLicences->contains($organizationLicence)) { $this->organizationLicences[] = $organizationLicence; $organizationLicence->setOrganization($this); } return $this; } public function removeOrganizationLicence(OrganizationLicence $organizationLicence): self { if ($this->organizationLicences->removeElement($organizationLicence)) { // set the owning side to null (unless already changed) if ($organizationLicence->getOrganization() === $this) { $organizationLicence->setOrganization(null); } } return $this; } public function getOrganizationArticles(): Collection { return $this->organizationArticles; } public function addOrganizationArticle(OrganizationArticle $organizationArticle): self { if (!$this->organizationArticles->contains($organizationArticle)) { $this->organizationArticles[] = $organizationArticle; $organizationArticle->setOrganization($this); } return $this; } public function removeOrganizationArticle(OrganizationArticle $organizationArticle): self { if ($this->organizationArticles->removeElement($organizationArticle)) { // set the owning side to null (unless already changed) if ($organizationArticle->getOrganization() === $this) { $organizationArticle->setOrganization(null); } } return $this; } public function addCycle(Cycle $cycle): self { if (!$this->cycles->contains($cycle)) { $this->cycles[] = $cycle; $cycle->setOrganization($this); } return $this; } public function removeCycle(Cycle $cycle): self { if ($this->cycles->removeElement($cycle)) { // set the owning side to null (unless already changed) if ($cycle->getOrganization() === $this) { $cycle->setOrganization(null); } } return $this; } public function getCycles(): Collection { return $this->cycles; } public function addEducationNotationConfig(EducationNotationConfig $educationNotationConfig): self { if (!$this->educationNotationConfigs->contains($educationNotationConfig)) { $this->educationNotationConfigs[] = $educationNotationConfig; $educationNotationConfig->setOrganization($this); } return $this; } public function removeEducationNotationConfig(EducationNotationConfig $educationNotationConfig): self { if ($this->educationNotationConfigs->removeElement($educationNotationConfig)) { // set the owning side to null (unless already changed) if ($educationNotationConfig->getOrganization() === $this) { $educationNotationConfig->setOrganization(null); } } return $this; } public function getEducationNotationConfigs(): Collection { return $this->educationNotationConfigs; } public function addEducationTiming(EducationTiming $educationTiming): self { if (!$this->educationTimings->contains($educationTiming)) { $this->educationTimings[] = $educationTiming; $educationTiming->setOrganization($this); } return $this; } public function removeEducationTiming(EducationTiming $educationTiming): self { if ($this->educationTimings->removeElement($educationTiming)) { // set the owning side to null (unless already changed) if ($educationTiming->getOrganization() === $this) { $educationTiming->setOrganization(null); } } return $this; } public function getEducationTimings(): Collection { return $this->educationTimings; } public function getSubdomains(): Collection { return $this->subdomains; } public function addSubdomain(Subdomain $subdomain): self { if (!$this->subdomains->contains($subdomain)) { $this->subdomains[] = $subdomain; $subdomain->setOrganization($this); } return $this; } public function getContactPerson(): ?Access { return $this->contactPerson; } public function setContactPerson(?Access $contactPerson): self { $this->contactPerson = $contactPerson; return $this; } /** * @return Collection */ public function getHolidays(): Collection { return $this->holidays; } public function addHoliday(OrganizationHoliday $holiday): self { if (!$this->holidays->contains($holiday)) { $this->holidays[] = $holiday; $holiday->setOrganization($this); } return $this; } public function removeHoliday(OrganizationHoliday $holiday): self { if ($this->holidays->removeElement($holiday)) { // set the owning side to null (unless already changed) if ($holiday->getOrganization() === $this) { $holiday->setOrganization(null); } } return $this; } /** * @return Collection */ public function getCourses(): Collection { return $this->courses; } public function addCourse(Course $course): self { if (!$this->courses->contains($course)) { $this->courses[] = $course; $course->setOrganization($this); } return $this; } public function removeCourse(Course $course): self { if ($this->courses->removeElement($course)) { // set the owning side to null (unless already changed) if ($course->getOrganization() === $this) { $course->setOrganization(null); } } return $this; } /** * @return Collection */ public function getEducationalProjects(): Collection { return $this->educationalProjects; } public function addEducationalProject(EducationalProject $educationalProject): self { if (!$this->educationalProjects->contains($educationalProject)) { $this->educationalProjects[] = $educationalProject; $educationalProject->setOrganization($this); } return $this; } public function removeEducationalProject(EducationalProject $educationalProject): self { if ($this->educationalProjects->removeElement($educationalProject)) { // set the owning side to null (unless already changed) if ($educationalProject->getOrganization() === $this) { $educationalProject->setOrganization(null); } } return $this; } /** * @return Collection */ public function getEvents(): Collection { return $this->events; } public function addEvent(Event $event): self { if (!$this->events->contains($event)) { $this->events[] = $event; $event->setOrganization($this); } return $this; } public function removeEvent(Event $event): self { if ($this->events->removeElement($event)) { // set the owning side to null (unless already changed) if ($event->getOrganization() === $this) { $event->setOrganization(null); } } return $this; } /** * @return Collection */ public function getExamens(): Collection { return $this->examens; } public function addExamen(Examen $examen): self { if (!$this->examens->contains($examen)) { $this->examens[] = $examen; $examen->setOrganization($this); } return $this; } public function removeExamen(Examen $examen): self { if ($this->examens->removeElement($examen)) { // set the owning side to null (unless already changed) if ($examen->getOrganization() === $this) { $examen->setOrganization(null); } } return $this; } /** * @return Collection */ public function getCritereNotations(): Collection { return $this->critereNotations; } public function addCritereNotation(CriteriaNotation $critereNotation): self { if (!$this->critereNotations->contains($critereNotation)) { $this->critereNotations[] = $critereNotation; $critereNotation->setOrganization($this); } return $this; } public function removeCritereNotation(CriteriaNotation $critereNotation): self { if ($this->critereNotations->removeElement($critereNotation)) { // set the owning side to null (unless already changed) if ($critereNotation->getOrganization() === $this) { $critereNotation->setOrganization(null); } } return $this; } /** * @return Collection */ public function getEducationCategories(): Collection { return $this->educationCategories; } public function addEducationCategory(EducationCategory $educationCategory): self { if (!$this->educationCategories->contains($educationCategory)) { $this->educationCategories[] = $educationCategory; $educationCategory->setOrganization($this); } return $this; } public function removeEducationCategory(EducationCategory $educationCategory): self { if ($this->educationCategories->removeElement($educationCategory)) { // set the owning side to null (unless already changed) if ($educationCategory->getOrganization() === $this) { $educationCategory->setOrganization(null); } } return $this; } /** * @return Collection */ public function getPeriodNotations(): Collection { return $this->periodNotations; } public function addPeriodNotation(PeriodNotation $periodNotation): self { if (!$this->periodNotations->contains($periodNotation)) { $this->periodNotations[] = $periodNotation; $periodNotation->setOrganization($this); } return $this; } public function removePeriodNotation(PeriodNotation $periodNotation): self { if ($this->periodNotations->removeElement($periodNotation)) { // set the owning side to null (unless already changed) if ($periodNotation->getOrganization() === $this) { $periodNotation->setOrganization(null); } } return $this; } /** * @return Collection */ public function getFiles(): Collection { return $this->files; } public function addFile(File $file): self { if (!$this->files->contains($file)) { $this->files[] = $file; $file->setOrganization($this); } return $this; } public function removeFile(File $file): self { if ($this->files->removeElement($file)) { // set the owning side to null (unless already changed) if ($file->getOrganization() === $this) { $file->setOrganization(null); } } return $this; } /** * @return Collection */ public function getNotifications(): Collection { return $this->notifications; } public function addNotification(Notification $notification): self { if (!$this->notifications->contains($notification)) { $this->notifications[] = $notification; $notification->setRecipientOrganization($this); } return $this; } public function removeNotification(Notification $notification): self { if ($this->notifications->removeElement($notification)) { // set the owning side to null (unless already changed) if ($notification->getRecipientOrganization() === $this) { $notification->setRecipientOrganization(null); } } return $this; } /** * @return Collection */ public function getEmails(): Collection { return $this->emails; } /** * @return Collection */ public function getMails(): Collection { return $this->mails; } /** * @return Collection */ public function getSms(): Collection { return $this->sms; } /** * @return Collection */ public function getActivities(): Collection { return $this->activities; } public function addActivity(Activity $activity): self { if (!$this->activities->contains($activity)) { $this->activities[] = $activity; $activity->setOrganization($this); } return $this; } public function removeActivity(Activity $activity): self { if ($this->activities->removeElement($activity)) { // set the owning side to null (unless already changed) if ($activity->getOrganization() === $this) { $activity->setOrganization(null); } } return $this; } /** * @return Collection */ public function getJuries(): Collection { return $this->juries; } public function addJury(Jury $jury): self { if (!$this->juries->contains($jury)) { $this->juries[] = $jury; $jury->setOrganization($this); } return $this; } public function removeJury(Jury $jury): self { if ($this->juries->removeElement($jury)) { // set the owning side to null (unless already changed) if ($jury->getOrganization() === $this) { $jury->setOrganization(null); } } return $this; } /** * @return Collection */ public function getCommissions(): Collection { return $this->commissions; } public function addCommission(Commission $commission): self { if (!$this->commissions->contains($commission)) { $this->commissions[] = $commission; $commission->setOrganization($this); } return $this; } public function removeCommission(Commission $commission): self { if ($this->commissions->removeElement($commission)) { // set the owning side to null (unless already changed) if ($commission->getOrganization() === $this) { $commission->setOrganization(null); } } return $this; } public function getPlaces(): Collection { return $this->places; } public function addPlace(Place $place): self { if (!$this->places->contains($place)) { $this->places[] = $place; $place->setOrganization($this); } return $this; } public function removePlace(Place $place): self { if ($this->places->removeElement($place)) { // set the owning side to null (unless already changed) if ($place->getOrganization() === $this) { $place->setOrganization(null); } } return $this; } /** * @return Collection */ public function getAttendances(): Collection { return $this->attendances; } public function addAttendance(Attendance $attendance): self { if (!$this->attendances->contains($attendance)) { $this->attendances[] = $attendance; $attendance->setOrganization($this); } return $this; } public function removeAttendance(Attendance $attendance): self { if ($this->attendances->removeElement($attendance)) { // set the owning side to null (unless already changed) if ($attendance->getOrganization() === $this) { $attendance->setOrganization(null); } } return $this; } /** * @return Collection */ public function getEquipments(): Collection { return $this->equipments; } public function addEquipment(Equipment $equipment): self { if (!$this->equipments->contains($equipment)) { $this->equipments[] = $equipment; $equipment->setOrganization($this); } return $this; } public function removeEquipment(Equipment $equipment): self { if ($this->equipments->removeElement($equipment)) { // set the owning side to null (unless already changed) if ($equipment->getOrganization() === $this) { $equipment->setOrganization(null); } } return $this; } /** * @return Collection */ public function getIntangibles(): Collection { return $this->intangibles; } public function addIntangible(Intangible $intangible): self { if (!$this->intangibles->contains($intangible)) { $this->intangibles[] = $intangible; $intangible->setOrganization($this); } return $this; } public function removeIntangible(Intangible $intangible): self { if ($this->intangibles->removeElement($intangible)) { // set the owning side to null (unless already changed) if ($intangible->getOrganization() === $this) { $intangible->setOrganization(null); } } return $this; } /** * @return Collection */ public function getDonors(): Collection { return $this->donors; } public function addDonor(Donor $donor): self { if (!$this->donors->contains($donor)) { $this->donors[] = $donor; $donor->setOrganization($this); } return $this; } public function removeDonor(Donor $donor): self { if ($this->donors->removeElement($donor)) { // set the owning side to null (unless already changed) if ($donor->getOrganization() === $this) { $donor->setOrganization(null); } } return $this; } // public function getOnlineRegistrationSettings(): \App\Entity\Organization\OnlineRegistrationSettings // { // return $this->onlineRegistrationSettings; // } // // public function setOnlineRegistrationSettings(\App\Entity\Organization\OnlineRegistrationSettings $onlineRegistrationSettings): void // { // $this->onlineRegistrationSettings = $onlineRegistrationSettings; // } /** * @return Collection */ public function getTags(): Collection { return $this->tags; } public function addTag(Tagg $tag): self { if (!$this->tags->contains($tag)) { $this->tags[] = $tag; } return $this; } public function removeTag(Tagg $tag): self { $this->tags->removeElement($tag); return $this; } public function getRewards(): Collection { return $this->rewards; } public function addReward(Reward $rewards): self { if (!$this->rewards->contains($rewards)) { $this->rewards[] = $rewards; $rewards->setOrganization($this); } return $this; } public function removeReward(Reward $rewards): self { if ($this->rewards->removeElement($rewards)) { // set the owning side to null (unless already changed) if ($rewards->getOrganization() === $this) { $rewards->setOrganization(null); } } return $this; } public function getNetwork(): Collection { return $this->network; } public function addNetwork(NetworkOrganization $network): self { if (!$this->network->contains($network)) { $this->network[] = $network; $network->setOrganization($this); } return $this; } public function removeNetwork(NetworkOrganization $network): self { if ($this->network->removeElement($network)) { $network->setOrganization(null); } return $this; } public function getNetworkChild(): Collection { return $this->networkChild; } public function addNetworkChild(NetworkOrganization $networkChild): self { if (!$this->networkChild->contains($networkChild)) { $this->networkChild[] = $networkChild; $networkChild->setParent($this); } return $this; } public function removeNetworkChild(NetworkOrganization $networkChild): self { if ($this->networkChild->removeElement($networkChild)) { $networkChild->setParent(null); } return $this; } public function getBillingExportSetting(): ?BillingExportSetting { return $this->billingExportSetting; } public function setBillingExportSetting(?BillingExportSetting $billingExportSetting): self { $this->billingExportSetting = $billingExportSetting; return $this; } public function getMessages(): Collection { return $this->messages; } public function addMessage(mixed $message): self { if (!$this->messages->contains($message)) { $this->messages[] = $message; $message->setOrganization($this); } return $this; } public function removeMessage(mixed $message): self { if ($this->messages->removeElement($message)) { $message->setOrganization(null); } return $this; } public function getOnlineRegistrationSettings(): ?OnlineRegistrationSettings { return $this->onlineRegistrationSettings; } public function setOnlineRegistrationSettings(?OnlineRegistrationSettings $onlineRegistrationSettings): self { $this->onlineRegistrationSettings = $onlineRegistrationSettings; return $this; } public function getCotisationByYears(): Collection { return $this->cotisationByYears; } public function addCotisationByYear(CotisationByYear $cotisationByYear): self { if (!$this->cotisationByYears->contains($cotisationByYear)) { $this->cotisationByYears[] = $cotisationByYear; $cotisationByYear->setOrganization($this); } return $this; } public function removeCotisationByYear(CotisationByYear $cotisationByYear): self { if ($this->cotisationByYears->removeElement($cotisationByYear)) { $cotisationByYear->setOrganization(null); } return $this; } public function getAttendanceBookingReasons(): Collection { return $this->attendanceBookingReasons; } public function addAttendanceBookingReason(AttendanceBookingReason $attendanceBookingReason): self { if (!$this->attendanceBookingReasons->contains($attendanceBookingReason)) { $this->attendanceBookingReasons[] = $attendanceBookingReason; $attendanceBookingReason->setOrganization($this); } return $this; } public function removeAttendanceBookingReason(AttendanceBookingReason $attendanceBookingReason): self { if ($this->attendanceBookingReasons->removeElement($attendanceBookingReason)) { $attendanceBookingReason->setOrganization(null); } return $this; } public function getEducationCurriculumPacks(): Collection { return $this->educationCurriculumPacks; } public function addEducationCurriculumPack(Cycle $educationCurriculumPack): self { if (!$this->educationCurriculumPacks->contains($educationCurriculumPack)) { $this->educationCurriculumPacks[] = $educationCurriculumPack; $educationCurriculumPack->setOrganization($this); } return $this; } public function removeEducationCurriculumPack(Cycle $educationCurriculumPack): self { if ($this->educationCurriculumPacks->removeElement($educationCurriculumPack)) { $educationCurriculumPack->setOrganization(null); } return $this; } public function getFamilyQuotientModels(): Collection { return $this->familyQuotientModels; } public function addFamilyQuotientModel(FamilyQuotientModel $familyQuotientModel): self { if (!$this->familyQuotientModels->contains($familyQuotientModel)) { $this->familyQuotientModels[] = $familyQuotientModel; $familyQuotientModel->setOrganization($this); } return $this; } public function removeFamilyQuotientModel(FamilyQuotientModel $familyQuotientModel): self { if ($this->familyQuotientModels->removeElement($familyQuotientModel)) { // $familyQuotientModel->setOrganization(null); // TODO: actuellement, pas nullable: conserver? } return $this; } public function getBillSchedules(): Collection { return $this->billSchedules; } public function addBillSchedule(BillSchedule $billSchedule): self { if (!$this->billSchedules->contains($billSchedule)) { $this->billSchedules[] = $billSchedule; $billSchedule->setOrganization($this); } return $this; } public function removeBillSchedule(BillSchedule $billSchedule): self { if ($this->billSchedules->removeElement($billSchedule)) { // $billSchedule->setOrganization(null); // TODO: actuellement, pas nullable: conserver? } return $this; } public function getReports(): Collection { return $this->reports; } public function addReport(AbstractReport $report): self { if (!$this->reports->contains($report)) { $this->reports[] = $report; $report->setOrganization($this); } return $this; } public function removeReport(AbstractReport $report): self { if ($this->reports->removeElement($report)) { $report->setOrganization(null); } return $this; } }