| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730 |
- <?php
- declare (strict_types=1);
- namespace App\Entity\Organization;
- use ApiPlatform\Metadata\GetCollection;
- use ApiPlatform\Metadata\Post;
- use ApiPlatform\Metadata\Put;
- use ApiPlatform\Metadata\Get;
- use ApiPlatform\Metadata\ApiResource;
- use App\Entity\Access\Access;
- use App\Entity\Billing\BillingSetting;
- use App\Entity\Booking\Attendance;
- use App\Entity\Booking\Course;
- use App\Entity\Booking\EducationalProject;
- use App\Entity\Booking\Event;
- use App\Entity\Booking\Examen;
- use App\Entity\Booking\OrganizationHoliday;
- use App\Entity\Core\BankAccount;
- use App\Entity\Core\ContactPoint;
- use App\Entity\Core\File;
- use App\Entity\Core\Notification;
- use App\Entity\Core\Tagg;
- use App\Entity\Donor\Donor;
- use App\Entity\Education\CriteriaNotation;
- use App\Entity\Education\Cycle;
- use App\Entity\Education\EducationCategory;
- use App\Entity\Education\EducationNotationConfig;
- use App\Entity\Education\EducationTiming;
- use App\Entity\Education\PeriodNotation;
- use App\Entity\Message\Email;
- use App\Entity\Message\Mail;
- use App\Entity\Message\Sms;
- use App\Entity\Network\NetworkOrganization;
- use App\Entity\Person\Commission;
- use App\Entity\Place\Place;
- use App\Entity\Product\Equipment;
- use App\Entity\Product\Intangible;
- use App\Enum\Organization\CategoryEnum;
- use App\Enum\Organization\LegalEnum;
- use App\Enum\Organization\OpcaEnum;
- use App\Enum\Organization\PrincipalTypeEnum;
- use App\Enum\Organization\SchoolCategoryEnum;
- use App\Enum\Organization\TypeEstablishmentDetailEnum;
- use App\Enum\Organization\TypeEstablishmentEnum;
- use App\Repository\Organization\OrganizationRepository;
- use App\State\Processor\Organization\OrganizationProcessor;
- use \App\Entity\Organization\OnlineRegistrationSettings;
- //use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
- use Doctrine\Common\Collections\ArrayCollection;
- use Doctrine\Common\Collections\Collection;
- use Doctrine\ORM\Mapping as ORM;
- use JetBrains\PhpStorm\Pure;
- use Symfony\Component\Validator\Constraints as Assert;
- /**
- * Structure, organisation
- *
- * Security :
- * * @see App\Doctrine\Organization\CurrentOrganizationExtension
- */
- #[ApiResource(operations: [
- new Get(security: "object.getId() == user.getOrganization().getId()")
- ])] //
- //#[Auditable]
- #[ORM\Entity(repositoryClass: OrganizationRepository::class)]
- class Organization
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private ?int $id = null;
- #[ORM\Column(length: 128, nullable: false)]
- public string $name;
- #[ORM\Column(length: 128)]
- private string $identifier;
- #[ORM\Column(length: 50, nullable: true, enumType: LegalEnum::class)]
- private ?LegalEnum $legalStatus = null;
- #[ORM\Column(length: 255, nullable: true, enumType: PrincipalTypeEnum::class)]
- private ?PrincipalTypeEnum $principalType = null;
- #[ORM\OneToOne(mappedBy: 'organization', cascade: ['persist', 'remove'])]
- private Settings $settings;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Access::class, orphanRemoval: true)]
- private Collection $accesses;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: NetworkOrganization::class, orphanRemoval: true)]
- private Collection $networkOrganizations;
- #[ORM\OneToMany(mappedBy: 'parent', targetEntity: NetworkOrganization::class, orphanRemoval: true)]
- private Collection $networkOrganizationChildren;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: EducationNotationConfig::class, orphanRemoval: true)]
- private Collection $educationNotationConfigs;
- #[ORM\OneToOne(inversedBy: 'organization', targetEntity: Parameters::class)]
- #[ORM\JoinColumn(nullable: false)]
- private Parameters $parameters;
- #[ORM\OneToOne(mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)]
- private BillingSetting $billingSetting;
- #[ORM\Column(type: 'text', nullable: true)]
- private ?string $description = null;
- #[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;
- #[ORM\ManyToMany(targetEntity: TypeOfPractice::class, mappedBy: 'organizations')]
- private Collection $typeOfPractices;
- #[ORM\Column(nullable: true)]
- private ?string $otherPractice = null;
- #[ORM\ManyToMany(targetEntity: ContactPoint::class, mappedBy: 'organization')]
- private Collection $contactPoints;
- #[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;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationAddressPostal::class, orphanRemoval: true)]
- private Collection $organizationAddressPostals;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationLicence::class, orphanRemoval: true)]
- private Collection $organizationLicences;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationArticle::class, orphanRemoval: true)]
- private Collection $organizationArticles;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Cycle::class, orphanRemoval: true)]
- private Collection $cycles;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: EducationTiming::class, orphanRemoval: true)]
- private Collection $educationTimings;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Subdomain::class)]
- private Collection $subdomains;
- #[ORM\ManyToOne(inversedBy: 'organizationContacts')]
- #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]
- private ?Access $contactPerson;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationHoliday::class, cascade: ['persist'], orphanRemoval: true)]
- private Collection $holidays;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Course::class, orphanRemoval: true)]
- private Collection $courses;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: EducationalProject::class, orphanRemoval: true)]
- private Collection $educationalProjects;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Event::class, orphanRemoval: true)]
- private Collection $events;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Examen::class, orphanRemoval: true)]
- private Collection $examens;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: CriteriaNotation::class, cascade: ['persist'], orphanRemoval: true)]
- private Collection $critereNotations;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: EducationCategory::class, orphanRemoval: true)]
- private Collection $educationCategories;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: PeriodNotation::class, orphanRemoval: true)]
- private Collection $periodNotations;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: File::class, orphanRemoval: true)]
- private Collection $files;
- #[ORM\OneToMany(mappedBy: 'recipientOrganization', targetEntity: Notification::class, orphanRemoval: true)]
- private Collection $notifications;
- #[ORM\OneToMany(mappedBy: 'author', targetEntity: Email::class)]
- private Collection $emails;
- #[ORM\OneToMany(mappedBy: 'author', targetEntity: Mail::class)]
- private Collection $mails;
- #[ORM\OneToMany(mappedBy: 'author', targetEntity: Sms::class)]
- private Collection $sms;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Activity::class, cascade: ['persist'], orphanRemoval: true)]
- private Collection $activities;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Jury::class, orphanRemoval: true)]
- private Collection $juries;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Commission::class, orphanRemoval: true)]
- private Collection $commissions;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Place::class, orphanRemoval: true)]
- private Collection $places;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Attendance::class, orphanRemoval: true)]
- private Collection $attendances;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Equipment::class, orphanRemoval: true)]
- private Collection $equipments;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Intangible::class, orphanRemoval: true)]
- private Collection $intangibles;
- #[ORM\OneToMany(mappedBy: 'organization', targetEntity: Donor::class, orphanRemoval: true)]
- private Collection $donors;
- // #[ORM\OneToOne()]
- // private OnlineRegistrationSettings $onlineRegistrationSettings;
- #[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;
- #[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();
- }
- 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 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;
- }
- /**
- * @return File
- */
- public function getLogo(): ?File
- {
- return $this->logo;
- }
- /**
- * @param File $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 addAccess(Access $access): self
- {
- if (!$this->accesses->contains($access)) {
- $this->accesses[] = $access;
- $access->setOrganization($this);
- }
- return $this;
- }
- public function removeAccess(Access $access): self
- {
- if ($this->accesses->removeElement($access)) {
- // set the owning side to null (unless already changed)
- if ($access->getOrganization() === $this) {
- $access->setOrganization(null);
- }
- }
- return $this;
- }
- public function getContactPerson(): ?Access
- {
- return $this->contactPerson;
- }
- public function setContactPerson(?Access $contactPerson): self
- {
- $this->contactPerson = $contactPerson;
- return $this;
- }
- /**
- * @return Collection<int, OrganizationHoliday>
- */
- 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<int, Course>
- */
- 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<int, EducationalProject>
- */
- 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<int, Event>
- */
- 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<int, Examen>
- */
- 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<int, CriteriaNotation>
- */
- 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<int, EducationCategory>
- */
- 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<int, PeriodNotation>
- */
- 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<int, File>
- */
- 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<int, Notification>
- */
- 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<int, Email>
- */
- public function getEmails(): Collection
- {
- return $this->emails;
- }
- /**
- * @return Collection<int, Mail>
- */
- public function getMails(): Collection
- {
- return $this->mails;
- }
- /**
- * @return Collection<int, Sms>
- */
- public function getSms(): Collection
- {
- return $this->sms;
- }
- /**
- * @return Collection<int, Activity>
- */
- 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<int, Jury>
- */
- 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<int, Commission>
- */
- 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;
- }
- /**
- * @return Collection<int, Place>
- */
- 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<int, Attendance>
- */
- 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<int, Equipment>
- */
- 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<int, Intangible>
- */
- 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<int, Donor>
- */
- 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<int, Tagg>
- */
- 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;
- }
- }
|