feat(all): Ajoute l'inscription, Turnstile, Sentry et améliore l'EPAGE en français.
```
This commit is contained in:
Serreau Jovann
2025-12-25 00:00:02 +01:00
parent a77a89fc7e
commit 2bb1e78ec3
19 changed files with 1354 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
pixel_open_cloudflare_turnstile:
key: "%env(TURNSTILE_KEY)%"
secret: "%env(TURNSTILE_SECRET)%"

View File

@@ -0,0 +1,7 @@
services:
stripe.client:
class: 'Stripe\StripeClient'
arguments:
- '%env(STRIPE_SECRET_KEY)%'
Stripe\StripeClient: '@stripe.client'

View File

@@ -0,0 +1,38 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251203170629 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208203741 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,42 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208205918 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208210440 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,43 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208212837 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,48 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208213741 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208214021 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
}
}

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251208214234 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251209104930 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251209105200 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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');
}
}

View File

@@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251224221934 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->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"');
}
}

View File

@@ -0,0 +1,81 @@
<?php
namespace App\Entity;
use App\Repository\InviteEPageRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Uid\Uuid;
#[ORM\Entity(repositoryClass: InviteEPageRepository::class)]
class InviteEPage
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?\DateTimeImmutable $createAt = null;
#[ORM\Column(type: 'uuid')]
private ?Uuid $code = null;
#[ORM\Column(length: 255)]
private ?string $pseudo = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
public function getId(): ?int
{
return $this->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;
}
}

322
src/Entity/Join.php Normal file
View File

@@ -0,0 +1,322 @@
<?php
namespace App\Entity;
use App\Repository\JoinRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: JoinRepository::class)]
#[ORM\Table(name: '`join`')]
class Join
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $name = null;
#[ORM\Column(length: 255)]
private ?string $surname = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column]
private ?\DateTimeImmutable $createAt = null;
#[ORM\Column(length: 255)]
private ?string $state = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $who = null;
#[ORM\Column(length: 255)]
private ?string $phone = null;
#[ORM\Column]
private ?\DateTime $dateBirth = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $paymentId = null;
#[ORM\Column(length: 255)]
private ?string $address = null;
#[ORM\Column(length: 255)]
private ?string $zipCode = null;
#[ORM\Column(length: 255)]
private ?string $city = null;
#[ORM\Column(length: 255)]
private ?string $pronom = null;
#[ORM\Column(length: 255)]
private ?string $sexe = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $instaLink = null;
#[ORM\Column(length: 255)]
private ?string $facebookLink = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $tiktokLink = null;
#[ORM\Column]
private ?bool $isDiscord = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $discordAccount = null;
#[ORM\Column(type: Types::ARRAY)]
private array $role = [];
public function getId(): ?int
{
return $this->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;
}
}

View File

@@ -0,0 +1,415 @@
<?php
namespace App\Entity;
use Symfony\Component\HttpFoundation\File\File;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
use App\Repository\OnBoaringEpageRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Uid\Uuid;
#[Vich\Uploadable()]
#[ORM\Entity(repositoryClass: OnBoaringEpageRepository::class)]
class OnBoaringEpage
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: 'string')]
private ?string $uuid = null;
#[ORM\Column(length: 255)]
private ?string $state = null;
#[ORM\ManyToOne(inversedBy: 'onBoaringEpages')]
private ?Abonements $abos = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(length: 255)]
private ?string $surname = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\ManyToOne(inversedBy: 'onBoaringEpages')]
private ?Account $account = null;
#[ORM\Column]
private ?bool $useDomain = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $pageUrl = null;
#[ORM\Column(length: 255)]
private ?string $birdth = null;
#[ORM\Column(length: 255)]
private ?string $nameCosplayer = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $linkInstagram = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $linkFacebook = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $linkTiktok = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $linkX = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $description = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $domain = null;
#[Vich\UploadableField(mapping: 'epage_avatar',fileNameProperty: 'epageFileName', size: 'epageSize', mimeType: 'epageMineType', originalName: 'epageOriginalName',dimensions: 'epageDimensions')]
private ?File $epage = null;
#[ORM\Column(nullable: true)]
private ?string $epageFileName = null;
#[ORM\Column(nullable: true)]
private ?array $epageDimensions = [];
#[ORM\Column(length: 255,nullable: true)]
private ?string $epageSize = null;
#[ORM\Column(length: 255,nullable: true)]
private ?string $epageMineType = null;
#[ORM\Column(length: 255,nullable: true)]
private ?string $epageOriginalName = null;
#[ORM\Column(nullable: true)]
private ?\DateTimeImmutable $updateAt;
public function getId(): ?int
{
return $this->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;
}
}

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Repository;
use App\Entity\InviteEPage;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<InviteEPage>
*/
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()
// ;
// }
}

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Repository;
use App\Entity\Join;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<Join>
*/
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()
// ;
// }
}

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Repository;
use App\Entity\OnBoaringEpage;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<OnBoaringEpage>
*/
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()
// ;
// }
}