From 2bb1e78ec3189a8ca723b4572d8746f2898405bb Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Thu, 25 Dec 2025 00:00:02 +0100 Subject: [PATCH] =?UTF-8?q?```=20=E2=9C=A8=20feat(all):=20Ajoute=20l'inscr?= =?UTF-8?q?iption,=20Turnstile,=20Sentry=20et=20am=C3=A9liore=20l'EPAGE=20?= =?UTF-8?q?en=20fran=C3=A7ais.=20```?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pixel_open_cloudflare_turnstile.yaml | 3 + config/packages/stripe.yaml | 7 + migrations/Version20251203170629.php | 38 ++ migrations/Version20251208203741.php | 32 ++ migrations/Version20251208205918.php | 42 ++ migrations/Version20251208210440.php | 32 ++ migrations/Version20251208212837.php | 43 ++ migrations/Version20251208213741.php | 48 ++ migrations/Version20251208214021.php | 31 ++ migrations/Version20251208214234.php | 32 ++ migrations/Version20251209104930.php | 34 ++ migrations/Version20251209105200.php | 32 ++ migrations/Version20251224221934.php | 33 ++ src/Entity/InviteEPage.php | 81 ++++ src/Entity/Join.php | 322 ++++++++++++++ src/Entity/OnBoaringEpage.php | 415 ++++++++++++++++++ src/Repository/InviteEPageRepository.php | 43 ++ src/Repository/JoinRepository.php | 43 ++ src/Repository/OnBoaringEpageRepository.php | 43 ++ 19 files changed, 1354 insertions(+) create mode 100644 config/packages/pixel_open_cloudflare_turnstile.yaml create mode 100644 config/packages/stripe.yaml create mode 100644 migrations/Version20251203170629.php create mode 100644 migrations/Version20251208203741.php create mode 100644 migrations/Version20251208205918.php create mode 100644 migrations/Version20251208210440.php create mode 100644 migrations/Version20251208212837.php create mode 100644 migrations/Version20251208213741.php create mode 100644 migrations/Version20251208214021.php create mode 100644 migrations/Version20251208214234.php create mode 100644 migrations/Version20251209104930.php create mode 100644 migrations/Version20251209105200.php create mode 100644 migrations/Version20251224221934.php create mode 100644 src/Entity/InviteEPage.php create mode 100644 src/Entity/Join.php create mode 100644 src/Entity/OnBoaringEpage.php create mode 100644 src/Repository/InviteEPageRepository.php create mode 100644 src/Repository/JoinRepository.php create mode 100644 src/Repository/OnBoaringEpageRepository.php diff --git a/config/packages/pixel_open_cloudflare_turnstile.yaml b/config/packages/pixel_open_cloudflare_turnstile.yaml new file mode 100644 index 0000000..8953b28 --- /dev/null +++ b/config/packages/pixel_open_cloudflare_turnstile.yaml @@ -0,0 +1,3 @@ +pixel_open_cloudflare_turnstile: + key: "%env(TURNSTILE_KEY)%" + secret: "%env(TURNSTILE_SECRET)%" diff --git a/config/packages/stripe.yaml b/config/packages/stripe.yaml new file mode 100644 index 0000000..1e075c6 --- /dev/null +++ b/config/packages/stripe.yaml @@ -0,0 +1,7 @@ +services: + stripe.client: + class: 'Stripe\StripeClient' + arguments: + - '%env(STRIPE_SECRET_KEY)%' + + Stripe\StripeClient: '@stripe.client' diff --git a/migrations/Version20251203170629.php b/migrations/Version20251203170629.php new file mode 100644 index 0000000..f887e39 --- /dev/null +++ b/migrations/Version20251203170629.php @@ -0,0 +1,38 @@ +addSql('CREATE TABLE on_boaring_epage (id SERIAL NOT NULL, abos_id INT DEFAULT NULL, account_id INT DEFAULT NULL, uuid VARCHAR(255) NOT NULL, state VARCHAR(255) NOT NULL, pseudo VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, surname VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, use_domain BOOLEAN NOT NULL, page_url VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX IDX_30B9DF1AE79C5B2 ON on_boaring_epage (abos_id)'); + $this->addSql('CREATE INDEX IDX_30B9DF1A9B6B5FBA ON on_boaring_epage (account_id)'); + $this->addSql('ALTER TABLE on_boaring_epage ADD CONSTRAINT FK_30B9DF1AE79C5B2 FOREIGN KEY (abos_id) REFERENCES abonements (id) NOT DEFERRABLE INITIALLY IMMEDIATE'); + $this->addSql('ALTER TABLE on_boaring_epage ADD CONSTRAINT FK_30B9DF1A9B6B5FBA FOREIGN KEY (account_id) REFERENCES "account" (id) NOT DEFERRABLE INITIALLY IMMEDIATE'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage DROP CONSTRAINT FK_30B9DF1AE79C5B2'); + $this->addSql('ALTER TABLE on_boaring_epage DROP CONSTRAINT FK_30B9DF1A9B6B5FBA'); + $this->addSql('DROP TABLE on_boaring_epage'); + } +} diff --git a/migrations/Version20251208203741.php b/migrations/Version20251208203741.php new file mode 100644 index 0000000..888e6c5 --- /dev/null +++ b/migrations/Version20251208203741.php @@ -0,0 +1,32 @@ +addSql('ALTER TABLE on_boaring_epage ADD birdth VARCHAR(255) NOT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage DROP birdth'); + } +} diff --git a/migrations/Version20251208205918.php b/migrations/Version20251208205918.php new file mode 100644 index 0000000..b9bfb66 --- /dev/null +++ b/migrations/Version20251208205918.php @@ -0,0 +1,42 @@ +addSql('ALTER TABLE on_boaring_epage ADD name_cosplayer VARCHAR(255) NOT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD link_instagram VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD link_facebook VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD link_tiktok VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD link_x VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD description TEXT DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage DROP name_cosplayer'); + $this->addSql('ALTER TABLE on_boaring_epage DROP link_instagram'); + $this->addSql('ALTER TABLE on_boaring_epage DROP link_facebook'); + $this->addSql('ALTER TABLE on_boaring_epage DROP link_tiktok'); + $this->addSql('ALTER TABLE on_boaring_epage DROP link_x'); + $this->addSql('ALTER TABLE on_boaring_epage DROP description'); + } +} diff --git a/migrations/Version20251208210440.php b/migrations/Version20251208210440.php new file mode 100644 index 0000000..a630673 --- /dev/null +++ b/migrations/Version20251208210440.php @@ -0,0 +1,32 @@ +addSql('ALTER TABLE on_boaring_epage ADD domain VARCHAR(255) DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage DROP domain'); + } +} diff --git a/migrations/Version20251208212837.php b/migrations/Version20251208212837.php new file mode 100644 index 0000000..071958a --- /dev/null +++ b/migrations/Version20251208212837.php @@ -0,0 +1,43 @@ +addSql('ALTER TABLE on_boaring_epage ADD avatar_file_name VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_dimensions JSON DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_size VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_mine_type VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_original_name VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD update_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL'); + $this->addSql('COMMENT ON COLUMN on_boaring_epage.update_at IS \'(DC2Type:datetime_immutable)\''); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_file_name'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_dimensions'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_size'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_mine_type'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_original_name'); + $this->addSql('ALTER TABLE on_boaring_epage DROP update_at'); + } +} diff --git a/migrations/Version20251208213741.php b/migrations/Version20251208213741.php new file mode 100644 index 0000000..ce3f63c --- /dev/null +++ b/migrations/Version20251208213741.php @@ -0,0 +1,48 @@ +addSql('ALTER TABLE on_boaring_epage ADD epage_file_name VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD epage_size VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD epage_mine_type VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD epage_original_name VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_file_name'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_size'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_mine_type'); + $this->addSql('ALTER TABLE on_boaring_epage DROP avatar_original_name'); + $this->addSql('ALTER TABLE on_boaring_epage RENAME COLUMN avatar_dimensions TO epage_dimensions'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_file_name VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_size VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_mine_type VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage ADD avatar_original_name VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE on_boaring_epage DROP epage_file_name'); + $this->addSql('ALTER TABLE on_boaring_epage DROP epage_size'); + $this->addSql('ALTER TABLE on_boaring_epage DROP epage_mine_type'); + $this->addSql('ALTER TABLE on_boaring_epage DROP epage_original_name'); + $this->addSql('ALTER TABLE on_boaring_epage RENAME COLUMN epage_dimensions TO avatar_dimensions'); + } +} diff --git a/migrations/Version20251208214021.php b/migrations/Version20251208214021.php new file mode 100644 index 0000000..30eebe2 --- /dev/null +++ b/migrations/Version20251208214021.php @@ -0,0 +1,31 @@ +addSql('CREATE SCHEMA public'); + } +} diff --git a/migrations/Version20251208214234.php b/migrations/Version20251208214234.php new file mode 100644 index 0000000..c88000a --- /dev/null +++ b/migrations/Version20251208214234.php @@ -0,0 +1,32 @@ +addSql('ALTER TABLE on_boaring_epage DROP pseudo'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE on_boaring_epage ADD pseudo VARCHAR(255) NOT NULL'); + } +} diff --git a/migrations/Version20251209104930.php b/migrations/Version20251209104930.php new file mode 100644 index 0000000..0ca9449 --- /dev/null +++ b/migrations/Version20251209104930.php @@ -0,0 +1,34 @@ +addSql('CREATE TABLE invite_epage (id SERIAL NOT NULL, create_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, code UUID NOT NULL, pseudo VARCHAR(255) NOT NULL, PRIMARY KEY(id))'); + $this->addSql('COMMENT ON COLUMN invite_epage.create_at IS \'(DC2Type:datetime_immutable)\''); + $this->addSql('COMMENT ON COLUMN invite_epage.code IS \'(DC2Type:uuid)\''); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('DROP TABLE invite_epage'); + } +} diff --git a/migrations/Version20251209105200.php b/migrations/Version20251209105200.php new file mode 100644 index 0000000..3ab2fbd --- /dev/null +++ b/migrations/Version20251209105200.php @@ -0,0 +1,32 @@ +addSql('ALTER TABLE invite_epage ADD email VARCHAR(255) NOT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE invite_epage DROP email'); + } +} diff --git a/migrations/Version20251224221934.php b/migrations/Version20251224221934.php new file mode 100644 index 0000000..d0a55c4 --- /dev/null +++ b/migrations/Version20251224221934.php @@ -0,0 +1,33 @@ +addSql('CREATE TABLE "join" (id SERIAL NOT NULL, name VARCHAR(255) DEFAULT NULL, surname VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, create_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, state VARCHAR(255) NOT NULL, who TEXT NOT NULL, phone VARCHAR(255) NOT NULL, date_birth TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, payment_id VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('COMMENT ON COLUMN "join".create_at IS \'(DC2Type:datetime_immutable)\''); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('DROP TABLE "join"'); + } +} diff --git a/src/Entity/InviteEPage.php b/src/Entity/InviteEPage.php new file mode 100644 index 0000000..d6f6a1c --- /dev/null +++ b/src/Entity/InviteEPage.php @@ -0,0 +1,81 @@ +id; + } + + public function getCreateAt(): ?\DateTimeImmutable + { + return $this->createAt; + } + + public function setCreateAt(\DateTimeImmutable $createAt): static + { + $this->createAt = $createAt; + + return $this; + } + + public function getCode(): ?Uuid + { + return $this->code; + } + + public function setCode(Uuid $code): static + { + $this->code = $code; + + return $this; + } + + public function getPseudo(): ?string + { + return $this->pseudo; + } + + public function setPseudo(string $pseudo): static + { + $this->pseudo = $pseudo; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(string $email): static + { + $this->email = $email; + + return $this; + } +} diff --git a/src/Entity/Join.php b/src/Entity/Join.php new file mode 100644 index 0000000..24620c6 --- /dev/null +++ b/src/Entity/Join.php @@ -0,0 +1,322 @@ +id; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): static + { + $this->name = $name; + + return $this; + } + + public function getSurname(): ?string + { + return $this->surname; + } + + public function setSurname(string $surname): static + { + $this->surname = $surname; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(string $email): static + { + $this->email = $email; + + return $this; + } + + public function getCreateAt(): ?\DateTimeImmutable + { + return $this->createAt; + } + + public function setCreateAt(\DateTimeImmutable $createAt): static + { + $this->createAt = $createAt; + + return $this; + } + + public function getState(): ?string + { + return $this->state; + } + + public function setState(string $state): static + { + $this->state = $state; + + return $this; + } + + public function getWho(): ?string + { + return $this->who; + } + + public function setWho(string $who): static + { + $this->who = $who; + + return $this; + } + + public function getPhone(): ?string + { + return $this->phone; + } + + public function setPhone(string $phone): static + { + $this->phone = $phone; + + return $this; + } + + public function getDateBirth(): ?\DateTime + { + return $this->dateBirth; + } + + public function setDateBirth(\DateTime $dateBirth): static + { + $this->dateBirth = $dateBirth; + + return $this; + } + + public function getPaymentId(): ?string + { + return $this->paymentId; + } + + public function setPaymentId(?string $paymentId): static + { + $this->paymentId = $paymentId; + + return $this; + } + + public function getAddress(): ?string + { + return $this->address; + } + + public function setAddress(string $address): static + { + $this->address = $address; + + return $this; + } + + public function getZipCode(): ?string + { + return $this->zipCode; + } + + public function setZipCode(string $zipCode): static + { + $this->zipCode = $zipCode; + + return $this; + } + + public function getCity(): ?string + { + return $this->city; + } + + public function setCity(string $city): static + { + $this->city = $city; + + return $this; + } + + public function getPronom(): ?string + { + return $this->pronom; + } + + public function setPronom(string $pronom): static + { + $this->pronom = $pronom; + + return $this; + } + + public function getSexe(): ?string + { + return $this->sexe; + } + + public function setSexe(string $sexe): static + { + $this->sexe = $sexe; + + return $this; + } + + public function getInstaLink(): ?string + { + return $this->instaLink; + } + + public function setInstaLink(?string $instaLink): static + { + $this->instaLink = $instaLink; + + return $this; + } + + public function getFacebookLink(): ?string + { + return $this->facebookLink; + } + + public function setFacebookLink(string $facebookLink): static + { + $this->facebookLink = $facebookLink; + + return $this; + } + + public function getTiktokLink(): ?string + { + return $this->tiktokLink; + } + + public function setTiktokLink(?string $tiktokLink): static + { + $this->tiktokLink = $tiktokLink; + + return $this; + } + + public function isDiscord(): ?bool + { + return $this->isDiscord; + } + + public function setIsDiscord(bool $isDiscord): static + { + $this->isDiscord = $isDiscord; + + return $this; + } + + public function getDiscordAccount(): ?string + { + return $this->discordAccount; + } + + public function setDiscordAccount(?string $discordAccount): static + { + $this->discordAccount = $discordAccount; + + return $this; + } + + public function getRole(): array + { + return $this->role; + } + + public function setRole(array $role): static + { + $this->role = $role; + + return $this; + } +} diff --git a/src/Entity/OnBoaringEpage.php b/src/Entity/OnBoaringEpage.php new file mode 100644 index 0000000..3b47482 --- /dev/null +++ b/src/Entity/OnBoaringEpage.php @@ -0,0 +1,415 @@ +id; + } + + public function getUuid(): ?string + { + return $this->uuid; + } + + public function setUuid(string $uuid): static + { + $this->uuid = $uuid; + + return $this; + } + + public function getState(): ?string + { + return $this->state; + } + + public function setState(string $state): static + { + $this->state = $state; + + return $this; + } + + public function getAbos(): ?Abonements + { + return $this->abos; + } + + public function setAbos(?Abonements $abos): static + { + $this->abos = $abos; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + + return $this; + } + + public function getSurname(): ?string + { + return $this->surname; + } + + public function setSurname(string $surname): static + { + $this->surname = $surname; + + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(string $email): static + { + $this->email = $email; + + return $this; + } + + public function getAccount(): ?Account + { + return $this->account; + } + + public function setAccount(?Account $account): static + { + $this->account = $account; + + return $this; + } + + public function isUseDomain(): ?bool + { + return $this->useDomain; + } + + public function setUseDomain(bool $useDomain): static + { + $this->useDomain = $useDomain; + + return $this; + } + + public function getPageUrl(): ?string + { + return $this->pageUrl; + } + + public function setPageUrl(?string $pageUrl): static + { + $this->pageUrl = $pageUrl; + + return $this; + } + + public function getBirdth(): ?string + { + return $this->birdth; + } + + public function setBirdth(string $birdth): static + { + $this->birdth = $birdth; + + return $this; + } + + public function getNameCosplayer(): ?string + { + return $this->nameCosplayer; + } + + public function setNameCosplayer(string $nameCosplayer): static + { + $this->nameCosplayer = $nameCosplayer; + + return $this; + } + + public function getLinkInstagram(): ?string + { + return $this->linkInstagram; + } + + public function setLinkInstagram(?string $linkInstagram): static + { + $this->linkInstagram = $linkInstagram; + + return $this; + } + + public function getLinkFacebook(): ?string + { + return $this->linkFacebook; + } + + public function setLinkFacebook(?string $linkFacebook): static + { + $this->linkFacebook = $linkFacebook; + + return $this; + } + + public function getLinkTiktok(): ?string + { + return $this->linkTiktok; + } + + public function setLinkTiktok(?string $linkTiktok): static + { + $this->linkTiktok = $linkTiktok; + + return $this; + } + + public function getLinkX(): ?string + { + return $this->linkX; + } + + public function setLinkX(?string $linkX): static + { + $this->linkX = $linkX; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + + return $this; + } + + public function getDomain(): ?string + { + return $this->domain; + } + + public function setDomain(?string $domain): static + { + $this->domain = $domain; + + return $this; + } + + /** + * @return \DateTimeImmutable|null + */ + public function getUpdateAt(): ?\DateTimeImmutable + { + return $this->updateAt; + } + + + /** + * @return bool|null + */ + public function getUseDomain(): ?bool + { + return $this->useDomain; + } + + /** + * @param \DateTimeImmutable|null $updateAt + */ + public function setUpdateAt(?\DateTimeImmutable $updateAt): void + { + $this->updateAt = $updateAt; + } + + /** + * @return File|null + */ + public function getEpage(): ?File + { + return $this->epage; + } + + /** + * @return array|null + */ + public function getEpageDimensions(): ?array + { + return $this->epageDimensions; + } + + /** + * @return string|null + */ + public function getEpageFileName(): ?string + { + return $this->epageFileName; + } + + /** + * @return string|null + */ + public function getEpageMineType(): ?string + { + return $this->epageMineType; + } + + /** + * @return string|null + */ + public function getEpageOriginalName(): ?string + { + return $this->epageOriginalName; + } + + /** + * @return string|null + */ + public function getEpageSize(): ?string + { + return $this->epageSize; + } + + /** + * @param File|null $epage + */ + public function setEpage(?File $epage): void + { + $this->epage = $epage; + } + + /** + * @param array|null $epageDimensions + */ + public function setEpageDimensions(?array $epageDimensions): void + { + $this->epageDimensions = $epageDimensions; + } + + /** + * @param string|null $epageFileName + */ + public function setEpageFileName(?string $epageFileName): void + { + $this->epageFileName = $epageFileName; + } + + /** + * @param string|null $epageMineType + */ + public function setEpageMineType(?string $epageMineType): void + { + $this->epageMineType = $epageMineType; + } + + /** + * @param string|null $epageOriginalName + */ + public function setEpageOriginalName(?string $epageOriginalName): void + { + $this->epageOriginalName = $epageOriginalName; + } + + /** + * @param string|null $epageSize + */ + public function setEpageSize(?string $epageSize): void + { + $this->epageSize = $epageSize; + } +} diff --git a/src/Repository/InviteEPageRepository.php b/src/Repository/InviteEPageRepository.php new file mode 100644 index 0000000..88d567d --- /dev/null +++ b/src/Repository/InviteEPageRepository.php @@ -0,0 +1,43 @@ + + */ +class InviteEPageRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, InviteEPage::class); + } + + // /** + // * @return InviteEPage[] Returns an array of InviteEPage objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('i') + // ->andWhere('i.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('i.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?InviteEPage + // { + // return $this->createQueryBuilder('i') + // ->andWhere('i.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +} diff --git a/src/Repository/JoinRepository.php b/src/Repository/JoinRepository.php new file mode 100644 index 0000000..9f7685a --- /dev/null +++ b/src/Repository/JoinRepository.php @@ -0,0 +1,43 @@ + + */ +class JoinRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, Join::class); + } + + // /** + // * @return Join[] Returns an array of Join objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('j') + // ->andWhere('j.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('j.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?Join + // { + // return $this->createQueryBuilder('j') + // ->andWhere('j.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +} diff --git a/src/Repository/OnBoaringEpageRepository.php b/src/Repository/OnBoaringEpageRepository.php new file mode 100644 index 0000000..d7e7106 --- /dev/null +++ b/src/Repository/OnBoaringEpageRepository.php @@ -0,0 +1,43 @@ + + */ +class OnBoaringEpageRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, OnBoaringEpage::class); + } + + // /** + // * @return OnBoaringEpage[] Returns an array of OnBoaringEpage objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('o') + // ->andWhere('o.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('o.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?OnBoaringEpage + // { + // return $this->createQueryBuilder('o') + // ->andWhere('o.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +}