Przeglądaj źródła

add missing entities

Olivier Massot 11 miesięcy temu
rodzic
commit
2af51c51ae

+ 400 - 0
src/Entity/Awin/Product.php

@@ -0,0 +1,400 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Awin;
+
+use ApiPlatform\Metadata\ApiResource;
+use Doctrine\Common\Collections\ArrayCollection;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+#[ORM\Table(name: 'AwinProduct')]
+class Product
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $slug;
+
+    #[ORM\Column]
+    protected mixed $name;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $description;
+
+    #[ORM\Column]
+    protected mixed $categoryCode;
+
+    #[ORM\Column]
+    protected mixed $subCategory;
+
+    #[ORM\Column(type: 'json', options: ['nullable' => true])]
+    protected array $categories;
+
+    #[ORM\Column]
+    protected mixed $datetimeStart;
+
+    #[ORM\Column]
+    protected mixed $datetimeEnd;
+
+    #[ORM\Column(type: 'json', options: ['nullable' => true])]
+    protected array $meetingSchedule;
+
+    #[ORM\Column]
+    protected mixed $placeCode;
+
+    #[ORM\Column]
+    protected mixed $place;
+
+    #[ORM\Column]
+    protected mixed $streetAddress;
+
+    #[ORM\Column]
+    protected mixed $postalCode;
+
+    #[ORM\Column]
+    protected mixed $city;
+
+    #[ORM\Column]
+    protected mixed $country;
+
+    #[ORM\Column]
+    protected mixed $latitude;
+
+    #[ORM\Column]
+    protected mixed $longitude;
+
+    #[ORM\Column]
+    protected mixed $mediumimage;
+
+    #[ORM\Column]
+    protected mixed $largeimage;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $deepLink;
+
+    #[ORM\Column]
+    protected mixed $priceMini;
+
+    #[ORM\Column]
+    protected mixed $priceMaxi;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $artists;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $uuid;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getSlug(): mixed
+    {
+        return $this->slug;
+    }
+
+    function setSlug(mixed $slug): self
+    {
+        $this->slug = $slug;
+        return $this;
+    }
+
+    function getName(): mixed
+    {
+        return $this->name;
+    }
+
+    function setName(mixed $name): self
+    {
+        $this->name = $name;
+        return $this;
+    }
+
+    function getDescription(): string
+    {
+        return $this->description;
+    }
+
+    function setDescription(string $description): self
+    {
+        $this->description = $description;
+        return $this;
+    }
+
+    function getCategoryCode(): mixed
+    {
+        return $this->categoryCode;
+    }
+
+    function setCategoryCode(mixed $categoryCode): self
+    {
+        $this->categoryCode = $categoryCode;
+        return $this;
+    }
+
+    function getSubCategory(): mixed
+    {
+        return $this->subCategory;
+    }
+
+    function setSubCategory(mixed $subCategory): self
+    {
+        $this->subCategory = $subCategory;
+        return $this;
+    }
+
+    function getCategories(): array
+    {
+        return $this->categories;
+    }
+
+    function setCategories(array $categories): self
+    {
+        $this->categories = $categories;
+        return $this;
+    }
+
+    function getDatetimeStart(): mixed
+    {
+        return $this->datetimeStart;
+    }
+
+    function setDatetimeStart(mixed $datetimeStart): self
+    {
+        $this->datetimeStart = $datetimeStart;
+        return $this;
+    }
+
+    function getDatetimeEnd(): mixed
+    {
+        return $this->datetimeEnd;
+    }
+
+    function setDatetimeEnd(mixed $datetimeEnd): self
+    {
+        $this->datetimeEnd = $datetimeEnd;
+        return $this;
+    }
+
+    function getMeetingSchedule(): array
+    {
+        return $this->meetingSchedule;
+    }
+
+    function setMeetingSchedule(array $meetingSchedule): self
+    {
+        $this->meetingSchedule = $meetingSchedule;
+        return $this;
+    }
+
+    function getPlaceCode(): mixed
+    {
+        return $this->placeCode;
+    }
+
+    function setPlaceCode(mixed $placeCode): self
+    {
+        $this->placeCode = $placeCode;
+        return $this;
+    }
+
+    function getPlace(): mixed
+    {
+        return $this->place;
+    }
+
+    function setPlace(mixed $place): self
+    {
+        $this->place = $place;
+        return $this;
+    }
+
+    function getStreetAddress(): mixed
+    {
+        return $this->streetAddress;
+    }
+
+    function setStreetAddress(mixed $streetAddress): self
+    {
+        $this->streetAddress = $streetAddress;
+        return $this;
+    }
+
+    function getPostalCode(): mixed
+    {
+        return $this->postalCode;
+    }
+
+    function setPostalCode(mixed $postalCode): self
+    {
+        $this->postalCode = $postalCode;
+        return $this;
+    }
+
+    function getCity(): mixed
+    {
+        return $this->city;
+    }
+
+    function setCity(mixed $city): self
+    {
+        $this->city = $city;
+        return $this;
+    }
+
+    function getCountry(): mixed
+    {
+        return $this->country;
+    }
+
+    function setCountry(mixed $country): self
+    {
+        $this->country = $country;
+        return $this;
+    }
+
+    function getLatitude(): mixed
+    {
+        return $this->latitude;
+    }
+
+    function setLatitude(mixed $latitude): self
+    {
+        $this->latitude = $latitude;
+        return $this;
+    }
+
+    function getLongitude(): mixed
+    {
+        return $this->longitude;
+    }
+
+    function setLongitude(mixed $longitude): self
+    {
+        $this->longitude = $longitude;
+        return $this;
+    }
+
+    function getMediumimage(): mixed
+    {
+        return $this->mediumimage;
+    }
+
+    function setMediumimage(mixed $mediumimage): self
+    {
+        $this->mediumimage = $mediumimage;
+        return $this;
+    }
+
+    function getLargeimage(): mixed
+    {
+        return $this->largeimage;
+    }
+
+    function setLargeimage(mixed $largeimage): self
+    {
+        $this->largeimage = $largeimage;
+        return $this;
+    }
+
+    function getDeepLink(): string
+    {
+        return $this->deepLink;
+    }
+
+    function setDeepLink(string $deepLink): self
+    {
+        $this->deepLink = $deepLink;
+        return $this;
+    }
+
+    function getPriceMini(): mixed
+    {
+        return $this->priceMini;
+    }
+
+    function setPriceMini(mixed $priceMini): self
+    {
+        $this->priceMini = $priceMini;
+        return $this;
+    }
+
+    function getPriceMaxi(): mixed
+    {
+        return $this->priceMaxi;
+    }
+
+    function setPriceMaxi(mixed $priceMaxi): self
+    {
+        $this->priceMaxi = $priceMaxi;
+        return $this;
+    }
+
+    function getArtists(): string
+    {
+        return $this->artists;
+    }
+
+    function setArtists(string $artists): self
+    {
+        $this->artists = $artists;
+        return $this;
+    }
+
+    function getUuid(): string
+    {
+        return $this->uuid;
+    }
+
+    function setUuid(string $uuid): self
+    {
+        $this->uuid = $uuid;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+}

+ 40 - 0
src/Entity/Billing/AbstractBill.php

@@ -0,0 +1,40 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App\Entity\Access\Access;
+// use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
+use Doctrine\ORM\Mapping as ORM;
+
+/**
+ * @todo : A la suite de la migration, il faut supprimer le nom de la table pour avoir une table Bill, et supprimer l'attribut discr.
+ * Classe ... qui ...
+ */
+#[ApiResource(operations: [])]
+// #[Auditable]
+#[ORM\Entity]
+#[ORM\Table(name: 'BillAccounting')]
+class AbstractBill extends AbstractBillAccounting implements BillAccountingInterface
+{
+    #[ORM\Column(length: 255, nullable: false)]
+    protected string $discr = 'bill';
+
+    #[ORM\ManyToOne(inversedBy: 'bills')]
+    #[ORM\JoinColumn(nullable: false)]
+    public ?Access $access;
+
+    public function getAccess(): ?Access
+    {
+        return $this->access;
+    }
+
+    public function setAccess(?Access $access): self
+    {
+        $this->access = $access;
+
+        return $this;
+    }
+}

+ 315 - 0
src/Entity/Billing/AbstractBillAccounting.php

@@ -0,0 +1,315 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use App\Entity\Core\Tagg;
+use App\Entity\Organization\Organization;
+use Doctrine\Common\Collections\ArrayCollection;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+/**
+ * Facture ou avoir
+ *
+ * @see Bill, BillCredit, AdvancePayment
+ *
+ * @todo : A la suite de la migration, il faut supprimer le nom de la table pour avoir une table BillAccounting, et supprimer l'attribut discr.
+ */
+#[ORM\MappedSuperclass]
+abstract class AbstractBillAccounting
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    protected ?int $id = null;
+
+    #[ORM\Column(length: 255, nullable: false)]
+    protected string $discr;
+
+    #[ORM\ManyToOne]
+    #[ORM\JoinColumn(nullable: true)]
+    protected Organization $organization;
+
+    #[ORM\OneToMany(mappedBy: 'bill', targetEntity: BillLine::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $billLines;
+
+    #[ORM\OneToMany(mappedBy: 'bill', targetEntity: AbstractBillCredit::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $billCredits;
+
+    #[ORM\OneToMany(mappedBy: 'bill', targetEntity: BillPayment::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $billPayments;
+
+    #[ORM\ManyToOne(inversedBy: 'billCredits')]
+    #[ORM\JoinColumn(nullable: true)]
+    protected AbstractBillAccounting $bill;
+
+    #[ORM\OneToMany(mappedBy: 'bill', targetEntity: BillingIntangibleExcludeDate::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $billingIntangibleExcludeDates;
+
+    #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'bills')]
+    #[ORM\JoinColumn(nullable: true)]
+    protected Pes $pes;
+
+    #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'bills')]
+    #[ORM\JoinColumn(nullable: true)]
+    protected BergerLevrault $bergerLevrault;
+
+    #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'bills')]
+    #[ORM\JoinColumn(nullable: true)]
+    protected Ciril $ciril;
+
+    #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'bills')]
+    #[ORM\JoinColumn(nullable: true)]
+    protected Jvs $jvs;
+
+    #[ORM\ManyToMany(targetEntity: Tagg::class, inversedBy: 'billAccountings', cascade: ['persist'])]
+    #[ORM\JoinTable(name: 'tag_billAccounting')]
+    #[ORM\JoinColumn(name: 'billAccounting_id', referencedColumnName: 'id')]
+    #[ORM\InverseJoinColumn(name: 'tag_id', referencedColumnName: 'id')]
+    protected Collection $tags;
+
+    public function __construct()
+    {
+        $this->billLines = new ArrayCollection();
+        $this->billCredits = new ArrayCollection();
+        $this->billPayments = new ArrayCollection();
+        $this->billingIntangibleExcludeDates = new ArrayCollection();
+        $this->tags = new ArrayCollection();
+    }
+
+    public function getId(): ?int
+    {
+        return $this->id;
+    }
+
+    public function getDiscr(): ?string
+    {
+        return $this->discr;
+    }
+
+    public function setDiscr(string $discr): self
+    {
+        $this->discr = $discr;
+
+        return $this;
+    }
+
+    public function getOrganization(): ?Organization
+    {
+        return $this->organization;
+    }
+
+    public function setOrganization(?Organization $organization): self
+    {
+        $this->organization = $organization;
+
+        return $this;
+    }
+
+    /**
+     * @return Collection<int, BillLine>
+     */
+    public function getBillLines(): Collection
+    {
+        return $this->billLines;
+    }
+
+    public function addBillLine(BillLine $billLine): self
+    {
+        if (!$this->billLines->contains($billLine)) {
+            $this->billLines[] = $billLine;
+            $billLine->setBill($this);
+        }
+
+        return $this;
+    }
+
+    public function removeBillLine(BillLine $billLine): self
+    {
+        if ($this->billLines->removeElement($billLine)) {
+            // set the owning side to null (unless already changed)
+            if ($billLine->getBill() === $this) {
+                $billLine->setBill(null);
+            }
+        }
+
+        return $this;
+    }
+
+    /**
+     * @return Collection<int, AbstractBillCredit>
+     */
+    public function getBillCredits(): Collection
+    {
+        return $this->billCredits;
+    }
+
+    public function addBillCredit(AbstractBillCredit $billCredit): self
+    {
+        if (!$this->billCredits->contains($billCredit)) {
+            $this->billCredits[] = $billCredit;
+            $billCredit->setBill($this);
+        }
+
+        return $this;
+    }
+
+    public function removeBillCredit(AbstractBillCredit $billCredit): self
+    {
+        if ($this->billCredits->removeElement($billCredit)) {
+            // set the owning side to null (unless already changed)
+            if ($billCredit->getBill() === $this) {
+                $billCredit->setBill(null);
+            }
+        }
+
+        return $this;
+    }
+
+    /**
+     * @return Collection<int, BillPayment>
+     */
+    public function getBillPayments(): Collection
+    {
+        return $this->billPayments;
+    }
+
+    public function addBillPayment(BillPayment $billPayment): self
+    {
+        if (!$this->billPayments->contains($billPayment)) {
+            $this->billPayments[] = $billPayment;
+            $billPayment->setBill($this);
+        }
+
+        return $this;
+    }
+
+    public function removeBillPayment(BillPayment $billPayment): self
+    {
+        if ($this->billPayments->removeElement($billPayment)) {
+            // set the owning side to null (unless already changed)
+            if ($billPayment->getBill() === $this) {
+                $billPayment->setBill(null);
+            }
+        }
+
+        return $this;
+    }
+
+    public function getBill(): ?self
+    {
+        return $this->bill;
+    }
+
+    public function setBill(?self $bill): self
+    {
+        $this->bill = $bill;
+
+        return $this;
+    }
+
+    /**
+     * @return Collection<int, BillingIntangibleExcludeDate>
+     */
+    public function getBillingIntangibleExcludeDates(): Collection
+    {
+        return $this->billingIntangibleExcludeDates;
+    }
+
+    public function addBillingIntangibleExcludeDate(BillingIntangibleExcludeDate $billingIntangibleExcludeDate): self
+    {
+        if (!$this->billingIntangibleExcludeDates->contains($billingIntangibleExcludeDate)) {
+            $this->billingIntangibleExcludeDates[] = $billingIntangibleExcludeDate;
+            /* @phpstan-ignore-next-line */
+            $billingIntangibleExcludeDate->setBill($this);
+        }
+
+        return $this;
+    }
+
+    public function removeBillingIntangibleExcludeDate(BillingIntangibleExcludeDate $billingIntangibleExcludeDate): self
+    {
+        if ($this->billingIntangibleExcludeDates->removeElement($billingIntangibleExcludeDate)) {
+            // set the owning side to null (unless already changed)
+            if ($billingIntangibleExcludeDate->getBill() === $this) {
+                $billingIntangibleExcludeDate->setBill(null);
+            }
+        }
+
+        return $this;
+    }
+
+    public function getPes(): ?Pes
+    {
+        return $this->pes;
+    }
+
+    public function setPes(?Pes $pes): self
+    {
+        $this->pes = $pes;
+
+        return $this;
+    }
+
+    public function getBergerLevrault(): ?BergerLevrault
+    {
+        return $this->bergerLevrault;
+    }
+
+    public function setBergerLevrault(?BergerLevrault $bergerLevrault): self
+    {
+        $this->bergerLevrault = $bergerLevrault;
+
+        return $this;
+    }
+
+    public function getCiril(): ?Ciril
+    {
+        return $this->ciril;
+    }
+
+    public function setCiril(?Ciril $ciril): self
+    {
+        $this->ciril = $ciril;
+
+        return $this;
+    }
+
+    public function getJvs(): ?Jvs
+    {
+        return $this->jvs;
+    }
+
+    public function setJvs(?Jvs $jvs): self
+    {
+        $this->jvs = $jvs;
+
+        return $this;
+    }
+
+    /**
+     * @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;
+    }
+}

+ 41 - 0
src/Entity/Billing/AbstractBillCredit.php

@@ -0,0 +1,41 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App\Entity\Access\Access;
+// use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
+use Doctrine\ORM\Mapping as ORM;
+
+/**
+ * @todo : A la suite de la migration, il faut supprimer le nom de la table pour avoir une table BillCredit, et supprimer l'attribut discr.
+ *
+ * Classe ... qui ...
+ */
+#[ApiResource(operations: [])]
+// #[Auditable]
+#[ORM\Entity]
+#[ORM\Table(name: 'BillAccounting')]
+class AbstractBillCredit extends AbstractBillAccounting implements BillAccountingInterface
+{
+    #[ORM\Column(length: 255, nullable: false)]
+    protected string $discr = 'billcredit';
+
+    #[ORM\ManyToOne(inversedBy: 'billCredits')]
+    #[ORM\JoinColumn(nullable: false)]
+    protected Access $access;
+
+    public function getAccess(): ?Access
+    {
+        return $this->access;
+    }
+
+    public function setAccess(?Access $access): self
+    {
+        $this->access = $access;
+
+        return $this;
+    }
+}

+ 17 - 0
src/Entity/Billing/AdvancePayment.php

@@ -0,0 +1,17 @@
+<?php
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+// #[Auditable]
+#[ORM\Table(name: 'BillAccounting')]
+#[ORM\Entity]
+class AdvancePayment extends AbstractBillAccounting
+{
+    #[ORM\Column(length: 255, nullable: false)]
+    protected string $discr = 'advancepayment';
+}

+ 177 - 0
src/Entity/Billing/Afi.php

@@ -0,0 +1,177 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Core\File;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class Afi
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $date;
+
+    #[ORM\Column]
+    protected mixed $samplingDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\OneToMany(mappedBy: 'afi', targetEntity: Bill::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $bills;
+
+    #[ORM\OneToOne(targetEntity: File::class, cascade: ['persist'])]
+    protected App\Entity\Core\File $file;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getDate(): mixed
+    {
+        return $this->date;
+    }
+
+    function setDate(mixed $date): self
+    {
+        $this->date = $date;
+        return $this;
+    }
+
+    function getSamplingDate(): mixed
+    {
+        return $this->samplingDate;
+    }
+
+    function setSamplingDate(mixed $samplingDate): self
+    {
+        $this->samplingDate = $samplingDate;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getBills(): Collection
+    {
+        return $this->bills;
+    }
+
+    function setBills(Collection $bills): self
+    {
+        $this->bills = $bills;
+        return $this;
+    }
+
+    function getFile(): App\Entity\Core\File
+    {
+        return $this->file;
+    }
+
+    function setFile(App\Entity\Core\File $file): self
+    {
+        $this->file = $file;
+        return $this;
+    }
+}

+ 277 - 0
src/Entity/Billing/BillSchedule.php

@@ -0,0 +1,277 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\AccessWish\AccessWish;
+use App\Entity\Organization\Organization;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class BillSchedule
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $label;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $isActive;
+
+    #[ORM\Column]
+    protected mixed $firstPayment;
+
+    #[ORM\Column]
+    protected mixed $periodicity;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $scheduleNumber;
+
+    #[ORM\Column]
+    protected mixed $firstBillScheduleDate;
+
+    #[ORM\Column]
+    protected mixed $paymentFirstMonth;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: Organization::class, cascade: [], inversedBy: 'billSchedules')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    protected App\Entity\Organization\Organization $organization;
+
+    #[ORM\OneToMany(mappedBy: 'billSchedule', targetEntity: BillScheduleDate::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $scheduleDates;
+
+    #[ORM\OneToMany(mappedBy: 'billSchedule', targetEntity: AccessBilling::class, cascade: [], orphanRemoval: false)]
+    protected Collection $accessBilling;
+
+    #[ORM\OneToMany(mappedBy: 'billSchedule', targetEntity: AccessWish::class, cascade: [], orphanRemoval: false)]
+    protected Collection $accessWishes;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getLabel(): mixed
+    {
+        return $this->label;
+    }
+
+    function setLabel(mixed $label): self
+    {
+        $this->label = $label;
+        return $this;
+    }
+
+    function getIsActive(): bool
+    {
+        return $this->isActive;
+    }
+
+    function setIsActive(bool $isActive): self
+    {
+        $this->isActive = $isActive;
+        return $this;
+    }
+
+    function getFirstPayment(): mixed
+    {
+        return $this->firstPayment;
+    }
+
+    function setFirstPayment(mixed $firstPayment): self
+    {
+        $this->firstPayment = $firstPayment;
+        return $this;
+    }
+
+    function getPeriodicity(): mixed
+    {
+        return $this->periodicity;
+    }
+
+    function setPeriodicity(mixed $periodicity): self
+    {
+        $this->periodicity = $periodicity;
+        return $this;
+    }
+
+    function getScheduleNumber(): int
+    {
+        return $this->scheduleNumber;
+    }
+
+    function setScheduleNumber(int $scheduleNumber): self
+    {
+        $this->scheduleNumber = $scheduleNumber;
+        return $this;
+    }
+
+    function getFirstBillScheduleDate(): mixed
+    {
+        return $this->firstBillScheduleDate;
+    }
+
+    function setFirstBillScheduleDate(mixed $firstBillScheduleDate): self
+    {
+        $this->firstBillScheduleDate = $firstBillScheduleDate;
+        return $this;
+    }
+
+    function getPaymentFirstMonth(): mixed
+    {
+        return $this->paymentFirstMonth;
+    }
+
+    function setPaymentFirstMonth(mixed $paymentFirstMonth): self
+    {
+        $this->paymentFirstMonth = $paymentFirstMonth;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getOrganization(): App\Entity\Organization\Organization
+    {
+        return $this->organization;
+    }
+
+    function setOrganization(App\Entity\Organization\Organization $organization): self
+    {
+        $this->organization = $organization;
+        return $this;
+    }
+
+    function getScheduleDates(): Collection
+    {
+        return $this->scheduleDates;
+    }
+
+    function setScheduleDates(Collection $scheduleDates): self
+    {
+        $this->scheduleDates = $scheduleDates;
+        return $this;
+    }
+
+    function getAccessBilling(): Collection
+    {
+        return $this->accessBilling;
+    }
+
+    function setAccessBilling(Collection $accessBilling): self
+    {
+        $this->accessBilling = $accessBilling;
+        return $this;
+    }
+
+    function getAccessWishes(): Collection
+    {
+        return $this->accessWishes;
+    }
+
+    function setAccessWishes(Collection $accessWishes): self
+    {
+        $this->accessWishes = $accessWishes;
+        return $this;
+    }
+}

+ 147 - 0
src/Entity/Billing/BillScheduleDate.php

@@ -0,0 +1,147 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use DateTimeInterface;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class BillScheduleDate
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $scheduleDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: BillSchedule::class, cascade: ['persist'], inversedBy: 'scheduleDates')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    protected mixed $billSchedule;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getScheduleDate(): mixed
+    {
+        return $this->scheduleDate;
+    }
+
+    function setScheduleDate(mixed $scheduleDate): self
+    {
+        $this->scheduleDate = $scheduleDate;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getBillSchedule(): mixed
+    {
+        return $this->billSchedule;
+    }
+
+    function setBillSchedule(mixed $billSchedule): self
+    {
+        $this->billSchedule = $billSchedule;
+        return $this;
+    }
+}

+ 163 - 0
src/Entity/Billing/CirilCivil.php

@@ -0,0 +1,163 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Core\File;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class CirilCivil
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $date;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\OneToMany(mappedBy: 'cirilCivil', targetEntity: Bill::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $bills;
+
+    #[ORM\OneToOne(targetEntity: File::class, cascade: ['persist'])]
+    protected App\Entity\Core\File $file;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getDate(): mixed
+    {
+        return $this->date;
+    }
+
+    function setDate(mixed $date): self
+    {
+        $this->date = $date;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getBills(): Collection
+    {
+        return $this->bills;
+    }
+
+    function setBills(Collection $bills): self
+    {
+        $this->bills = $bills;
+        return $this;
+    }
+
+    function getFile(): App\Entity\Core\File
+    {
+        return $this->file;
+    }
+
+    function setFile(App\Entity\Core\File $file): self
+    {
+        $this->file = $file;
+        return $this;
+    }
+}

+ 238 - 0
src/Entity/Billing/FamilyQuotientBand.php

@@ -0,0 +1,238 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App\Entity\Product\IntangibleDiscountDetail;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class FamilyQuotientBand
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $label;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $isActive;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $lowerBound;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $upperBound;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $calculationFormula;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: FamilyQuotientModel::class, cascade: [], inversedBy: 'familyQuotientBands')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    protected mixed $familyQuotientModel;
+
+    #[ORM\OneToMany(
+        mappedBy: 'familyQuotientBand',
+        targetEntity: FamilyQuotientBandDetail::class,
+        cascade: ['persist'],
+        orphanRemoval: true,
+    )]
+    protected Collection $familyQuotientBandDetails;
+
+    #[ORM\OneToMany(mappedBy: 'familyQuotientBand', targetEntity: IntangibleDiscountDetail::class, cascade: [], orphanRemoval: true)]
+    protected Collection $intangibleDiscountDetails;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getLabel(): mixed
+    {
+        return $this->label;
+    }
+
+    function setLabel(mixed $label): self
+    {
+        $this->label = $label;
+        return $this;
+    }
+
+    function getIsActive(): bool
+    {
+        return $this->isActive;
+    }
+
+    function setIsActive(bool $isActive): self
+    {
+        $this->isActive = $isActive;
+        return $this;
+    }
+
+    function getLowerBound(): int
+    {
+        return $this->lowerBound;
+    }
+
+    function setLowerBound(int $lowerBound): self
+    {
+        $this->lowerBound = $lowerBound;
+        return $this;
+    }
+
+    function getUpperBound(): int
+    {
+        return $this->upperBound;
+    }
+
+    function setUpperBound(int $upperBound): self
+    {
+        $this->upperBound = $upperBound;
+        return $this;
+    }
+
+    function getCalculationFormula(): string
+    {
+        return $this->calculationFormula;
+    }
+
+    function setCalculationFormula(string $calculationFormula): self
+    {
+        $this->calculationFormula = $calculationFormula;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getFamilyQuotientModel(): mixed
+    {
+        return $this->familyQuotientModel;
+    }
+
+    function setFamilyQuotientModel(mixed $familyQuotientModel): self
+    {
+        $this->familyQuotientModel = $familyQuotientModel;
+        return $this;
+    }
+
+    function getFamilyQuotientBandDetails(): Collection
+    {
+        return $this->familyQuotientBandDetails;
+    }
+
+    function setFamilyQuotientBandDetails(Collection $familyQuotientBandDetails): self
+    {
+        $this->familyQuotientBandDetails = $familyQuotientBandDetails;
+        return $this;
+    }
+
+    function getIntangibleDiscountDetails(): Collection
+    {
+        return $this->intangibleDiscountDetails;
+    }
+
+    function setIntangibleDiscountDetails(Collection $intangibleDiscountDetails): self
+    {
+        $this->intangibleDiscountDetails = $intangibleDiscountDetails;
+        return $this;
+    }
+}

+ 179 - 0
src/Entity/Billing/FamilyQuotientBandDetail.php

@@ -0,0 +1,179 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Product\IntangibleDiscountDetail;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class FamilyQuotientBandDetail
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $calculationFormula;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: FamilyQuotientBand::class, cascade: [], inversedBy: 'familyQuotientBandDetails')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    protected mixed $familyQuotientBand;
+
+    #[ORM\ManyToOne(targetEntity: ResidenceArea::class, cascade: [], inversedBy: 'intangibleDiscountDetails')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    protected App\Entity\Billing\ResidenceArea $residenceArea;
+
+    #[ORM\OneToMany(mappedBy: 'familyQuotientBandDetail', targetEntity: IntangibleDiscountDetail::class, cascade: [], orphanRemoval: true)]
+    protected Collection $intangibleDiscountDetails;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getCalculationFormula(): string
+    {
+        return $this->calculationFormula;
+    }
+
+    function setCalculationFormula(string $calculationFormula): self
+    {
+        $this->calculationFormula = $calculationFormula;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getFamilyQuotientBand(): mixed
+    {
+        return $this->familyQuotientBand;
+    }
+
+    function setFamilyQuotientBand(mixed $familyQuotientBand): self
+    {
+        $this->familyQuotientBand = $familyQuotientBand;
+        return $this;
+    }
+
+    function getResidenceArea(): App\Entity\Billing\ResidenceArea
+    {
+        return $this->residenceArea;
+    }
+
+    function setResidenceArea(App\Entity\Billing\ResidenceArea $residenceArea): self
+    {
+        $this->residenceArea = $residenceArea;
+        return $this;
+    }
+
+    function getIntangibleDiscountDetails(): Collection
+    {
+        return $this->intangibleDiscountDetails;
+    }
+
+    function setIntangibleDiscountDetails(Collection $intangibleDiscountDetails): self
+    {
+        $this->intangibleDiscountDetails = $intangibleDiscountDetails;
+        return $this;
+    }
+}

+ 193 - 0
src/Entity/Billing/FamilyQuotientModel.php

@@ -0,0 +1,193 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Organization\Organization;
+use App\Entity\Product\IntangiblePriceAndDiscount;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class FamilyQuotientModel
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $label;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $isActive;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: Organization::class, cascade: [], inversedBy: 'familyQuotientModels')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    protected App\Entity\Organization\Organization $organization;
+
+    #[ORM\OneToMany(mappedBy: 'familyQuotientModel', targetEntity: FamilyQuotientBand::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $familyQuotientBands;
+
+    #[ORM\OneToMany(mappedBy: 'familyQuotientModel', targetEntity: IntangiblePriceAndDiscount::class, cascade: [], orphanRemoval: false)]
+    protected Collection $intangiblePriceAndDiscounts;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getLabel(): mixed
+    {
+        return $this->label;
+    }
+
+    function setLabel(mixed $label): self
+    {
+        $this->label = $label;
+        return $this;
+    }
+
+    function getIsActive(): bool
+    {
+        return $this->isActive;
+    }
+
+    function setIsActive(bool $isActive): self
+    {
+        $this->isActive = $isActive;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getOrganization(): App\Entity\Organization\Organization
+    {
+        return $this->organization;
+    }
+
+    function setOrganization(App\Entity\Organization\Organization $organization): self
+    {
+        $this->organization = $organization;
+        return $this;
+    }
+
+    function getFamilyQuotientBands(): Collection
+    {
+        return $this->familyQuotientBands;
+    }
+
+    function setFamilyQuotientBands(Collection $familyQuotientBands): self
+    {
+        $this->familyQuotientBands = $familyQuotientBands;
+        return $this;
+    }
+
+    function getIntangiblePriceAndDiscounts(): Collection
+    {
+        return $this->intangiblePriceAndDiscounts;
+    }
+
+    function setIntangiblePriceAndDiscounts(Collection $intangiblePriceAndDiscounts): self
+    {
+        $this->intangiblePriceAndDiscounts = $intangiblePriceAndDiscounts;
+        return $this;
+    }
+}

+ 163 - 0
src/Entity/Billing/Odyssee.php

@@ -0,0 +1,163 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Core\File;
+use DateTimeInterface;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class Odyssee
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $date;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    #[ORM\OneToMany(mappedBy: 'odyssee', targetEntity: Bill::class, cascade: ['persist'], orphanRemoval: true)]
+    protected Collection $bills;
+
+    #[ORM\OneToOne(targetEntity: File::class, cascade: ['persist'])]
+    protected App\Entity\Core\File $file;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getDate(): mixed
+    {
+        return $this->date;
+    }
+
+    function setDate(mixed $date): self
+    {
+        $this->date = $date;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getBills(): Collection
+    {
+        return $this->bills;
+    }
+
+    function setBills(Collection $bills): self
+    {
+        $this->bills = $bills;
+        return $this;
+    }
+
+    function getFile(): App\Entity\Core\File
+    {
+        return $this->file;
+    }
+
+    function setFile(App\Entity\Core\File $file): self
+    {
+        $this->file = $file;
+        return $this;
+    }
+}

+ 134 - 0
src/Entity/Billing/PayboxPaymentReturn.php

@@ -0,0 +1,134 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Billing;
+
+use ApiPlatform\Metadata\ApiResource;
+use DateTimeInterface;
+use Doctrine\Common\Collections\ArrayCollection;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class PayboxPaymentReturn
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    protected string $content;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    protected bool $draft;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getContent(): string
+    {
+        return $this->content;
+    }
+
+    function setContent(string $content): self
+    {
+        $this->content = $content;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+}

+ 119 - 0
src/Entity/Core/LoginLog.php

@@ -0,0 +1,119 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Core;
+
+use ApiPlatform\Metadata\ApiResource;
+use Doctrine\Common\Collections\ArrayCollection;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class LoginLog
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    protected mixed $login;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    protected int $organizationId;
+
+    #[ORM\Column]
+    protected mixed $navigateur;
+
+    #[ORM\Column]
+    protected mixed $ip;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    protected ?DateTimeInterface $date;
+
+    #[ORM\Column]
+    protected mixed $type;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getLogin(): mixed
+    {
+        return $this->login;
+    }
+
+    function setLogin(mixed $login): self
+    {
+        $this->login = $login;
+        return $this;
+    }
+
+    function getOrganizationId(): int
+    {
+        return $this->organizationId;
+    }
+
+    function setOrganizationId(int $organizationId): self
+    {
+        $this->organizationId = $organizationId;
+        return $this;
+    }
+
+    function getNavigateur(): mixed
+    {
+        return $this->navigateur;
+    }
+
+    function setNavigateur(mixed $navigateur): self
+    {
+        $this->navigateur = $navigateur;
+        return $this;
+    }
+
+    function getIp(): mixed
+    {
+        return $this->ip;
+    }
+
+    function setIp(mixed $ip): self
+    {
+        $this->ip = $ip;
+        return $this;
+    }
+
+    function getDate(): DateTimeInterface
+    {
+        return $this->date;
+    }
+
+    function setDate(DateTimeInterface $date): self
+    {
+        $this->date = $date;
+        return $this;
+    }
+
+    function getType(): mixed
+    {
+        return $this->type;
+    }
+
+    function setType(mixed $type): self
+    {
+        $this->type = $type;
+        return $this;
+    }
+}

+ 336 - 0
src/Entity/Education/EducationCurriculumPack.php

@@ -0,0 +1,336 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Education;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Core\Tagg;
+use App\Entity\Organization\Organization;
+use App\Entity\Product\Intangible;
+use DateTimeInterface;
+use Doctrine\Common\Collections\ArrayCollection;
+use Doctrine\Common\Collections\Collection;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class EducationCurriculumPack
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    private mixed $label;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    private string $description;
+
+    #[ORM\Column]
+    private mixed $educationTypeEnum;
+
+    #[ORM\Column(options: ['default' => false])]
+    private bool $isActive;
+
+    #[ORM\Column(options: ['default' => false])]
+    private bool $ielEnabled;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    private string $pedagogicObjectifs;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    private string $pedagogicContent;
+
+    #[ORM\Column(length: 255, options: ['nullable' => true])]
+    private string $accessCondition;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    private ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    private ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    private bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: Organization::class, cascade: [], inversedBy: 'educationCurriculumPacks')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    public App\Entity\Organization\Organization $organization;
+
+    #[ORM\ManyToMany(targetEntity: Tagg::class, inversedBy: 'educationCurriculumPacks', cascade: ['persist'], orphanRemoval: false)]
+    public Collection $tags;
+
+    #[ORM\ManyToMany(
+        targetEntity: EducationCurriculum::class,
+        inversedBy: 'requiredEducationCurriculumPacks',
+        cascade: [],
+        orphanRemoval: false,
+    )]
+    public Collection $requiredEducationCurriculums;
+
+    #[ORM\ManyToMany(
+        targetEntity: EducationCurriculum::class,
+        inversedBy: 'requiredChoicesEducationCurriculumPacks',
+        cascade: [],
+        orphanRemoval: false,
+    )]
+    public Collection $requiredChoicesEducationCurriculums;
+
+    #[ORM\ManyToMany(
+        targetEntity: EducationCurriculum::class,
+        inversedBy: 'optionnalEducationCurriculumPacks',
+        cascade: [],
+        orphanRemoval: false,
+    )]
+    public Collection $optionnalEducationCurriculums;
+
+    #[ORM\ManyToMany(targetEntity: Intangible::class, mappedBy: 'educationCurriculumPacks', cascade: [], orphanRemoval: false)]
+    public Collection $intangibles;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getLabel(): mixed
+    {
+        return $this->label;
+    }
+
+    function setLabel(mixed $label): self
+    {
+        $this->label = $label;
+        return $this;
+    }
+
+    function getDescription(): string
+    {
+        return $this->description;
+    }
+
+    function setDescription(string $description): self
+    {
+        $this->description = $description;
+        return $this;
+    }
+
+    function getEducationTypeEnum(): mixed
+    {
+        return $this->educationTypeEnum;
+    }
+
+    function setEducationTypeEnum(mixed $educationTypeEnum): self
+    {
+        $this->educationTypeEnum = $educationTypeEnum;
+        return $this;
+    }
+
+    function getIsActive(): bool
+    {
+        return $this->isActive;
+    }
+
+    function setIsActive(bool $isActive): self
+    {
+        $this->isActive = $isActive;
+        return $this;
+    }
+
+    function getIelEnabled(): bool
+    {
+        return $this->ielEnabled;
+    }
+
+    function setIelEnabled(bool $ielEnabled): self
+    {
+        $this->ielEnabled = $ielEnabled;
+        return $this;
+    }
+
+    function getPedagogicObjectifs(): string
+    {
+        return $this->pedagogicObjectifs;
+    }
+
+    function setPedagogicObjectifs(string $pedagogicObjectifs): self
+    {
+        $this->pedagogicObjectifs = $pedagogicObjectifs;
+        return $this;
+    }
+
+    function getPedagogicContent(): string
+    {
+        return $this->pedagogicContent;
+    }
+
+    function setPedagogicContent(string $pedagogicContent): self
+    {
+        $this->pedagogicContent = $pedagogicContent;
+        return $this;
+    }
+
+    function getAccessCondition(): string
+    {
+        return $this->accessCondition;
+    }
+
+    function setAccessCondition(string $accessCondition): self
+    {
+        $this->accessCondition = $accessCondition;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getOrganization(): App\Entity\Organization\Organization
+    {
+        return $this->organization;
+    }
+
+    function setOrganization(App\Entity\Organization\Organization $organization): self
+    {
+        $this->organization = $organization;
+        return $this;
+    }
+
+    function getTags(): Collection
+    {
+        return $this->tags;
+    }
+
+    function setTags(Collection $tags): self
+    {
+        $this->tags = $tags;
+        return $this;
+    }
+
+    function getRequiredEducationCurriculums(): Collection
+    {
+        return $this->requiredEducationCurriculums;
+    }
+
+    function setRequiredEducationCurriculums(Collection $requiredEducationCurriculums): self
+    {
+        $this->requiredEducationCurriculums = $requiredEducationCurriculums;
+        return $this;
+    }
+
+    function getRequiredChoicesEducationCurriculums(): Collection
+    {
+        return $this->requiredChoicesEducationCurriculums;
+    }
+
+    function setRequiredChoicesEducationCurriculums(Collection $requiredChoicesEducationCurriculums): self
+    {
+        $this->requiredChoicesEducationCurriculums = $requiredChoicesEducationCurriculums;
+        return $this;
+    }
+
+    function getOptionnalEducationCurriculums(): Collection
+    {
+        return $this->optionnalEducationCurriculums;
+    }
+
+    function setOptionnalEducationCurriculums(Collection $optionnalEducationCurriculums): self
+    {
+        $this->optionnalEducationCurriculums = $optionnalEducationCurriculums;
+        return $this;
+    }
+
+    function getIntangibles(): Collection
+    {
+        return $this->intangibles;
+    }
+
+    function setIntangibles(Collection $intangibles): self
+    {
+        $this->intangibles = $intangibles;
+        return $this;
+    }
+}

+ 180 - 0
src/Entity/Message/ReportMessage.php

@@ -0,0 +1,180 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Message;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Access\Access;
+use App\Entity\Organization\Organization;
+use DateTimeInterface;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class ReportMessage
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    private ?DateTimeInterface $dateSend;
+
+    #[ORM\Column]
+    private mixed $recipientType;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $recipientId;
+
+    #[ORM\Column]
+    private mixed $recipientName;
+
+    #[ORM\Column]
+    private mixed $status;
+
+    #[ORM\Column]
+    private mixed $smsId;
+
+    #[ORM\Column]
+    private mixed $addressEmail;
+
+    #[ORM\ManyToOne(targetEntity: AbstractMessage::class, cascade: [], inversedBy: 'reportMessage')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    public mixed $message;
+
+    #[ORM\ManyToOne(targetEntity: Access::class, cascade: [])]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    public App\Entity\Access\Access $access;
+
+    #[ORM\ManyToOne(targetEntity: Organization::class, cascade: [])]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    public App\Entity\Organization\Organization $organization;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getDateSend(): DateTimeInterface
+    {
+        return $this->dateSend;
+    }
+
+    function setDateSend(DateTimeInterface $dateSend): self
+    {
+        $this->dateSend = $dateSend;
+        return $this;
+    }
+
+    function getRecipientType(): mixed
+    {
+        return $this->recipientType;
+    }
+
+    function setRecipientType(mixed $recipientType): self
+    {
+        $this->recipientType = $recipientType;
+        return $this;
+    }
+
+    function getRecipientId(): int
+    {
+        return $this->recipientId;
+    }
+
+    function setRecipientId(int $recipientId): self
+    {
+        $this->recipientId = $recipientId;
+        return $this;
+    }
+
+    function getRecipientName(): mixed
+    {
+        return $this->recipientName;
+    }
+
+    function setRecipientName(mixed $recipientName): self
+    {
+        $this->recipientName = $recipientName;
+        return $this;
+    }
+
+    function getStatus(): mixed
+    {
+        return $this->status;
+    }
+
+    function setStatus(mixed $status): self
+    {
+        $this->status = $status;
+        return $this;
+    }
+
+    function getSmsId(): mixed
+    {
+        return $this->smsId;
+    }
+
+    function setSmsId(mixed $smsId): self
+    {
+        $this->smsId = $smsId;
+        return $this;
+    }
+
+    function getAddressEmail(): mixed
+    {
+        return $this->addressEmail;
+    }
+
+    function setAddressEmail(mixed $addressEmail): self
+    {
+        $this->addressEmail = $addressEmail;
+        return $this;
+    }
+
+    function getMessage(): mixed
+    {
+        return $this->message;
+    }
+
+    function setMessage(mixed $message): self
+    {
+        $this->message = $message;
+        return $this;
+    }
+
+    function getAccess(): App\Entity\Access\Access
+    {
+        return $this->access;
+    }
+
+    function setAccess(App\Entity\Access\Access $access): self
+    {
+        $this->access = $access;
+        return $this;
+    }
+
+    function getOrganization(): App\Entity\Organization\Organization
+    {
+        return $this->organization;
+    }
+
+    function setOrganization(App\Entity\Organization\Organization $organization): self
+    {
+        $this->organization = $organization;
+        return $this;
+    }
+}

+ 177 - 0
src/Entity/Token/Token.php

@@ -0,0 +1,177 @@
+<?php
+
+/**
+ * This file is auto-generated.
+ */
+
+declare(strict_types=1);
+
+namespace App\Entity\Token;
+
+use ApiPlatform\Metadata\ApiResource;
+use App;
+use App\Entity\Access\Access;
+use DateTimeInterface;
+use Doctrine\ORM\Mapping as ORM;
+
+#[ApiResource(operations: [])]
+#[ORM\Entity]
+class Token
+{
+    #[ORM\Id]
+    #[ORM\Column]
+    #[ORM\GeneratedValue]
+    private int $id;
+
+    #[ORM\Column]
+    private mixed $type;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    private ?DateTimeInterface $expiryDate;
+
+    #[ORM\Column]
+    private mixed $token;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    private ?DateTimeInterface $createDate;
+
+    #[ORM\Column(type: 'date', options: ['nullable' => true])]
+    private ?DateTimeInterface $updateDate;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $legacyId;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $createdBy;
+
+    #[ORM\Column(type: 'integer', options: ['nullable' => true])]
+    private int $updatedBy;
+
+    #[ORM\Column(options: ['default' => false])]
+    private bool $draft;
+
+    #[ORM\ManyToOne(targetEntity: Access::class, cascade: [], inversedBy: 'tokens')]
+    #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')]
+    private App\Entity\Access\Access $access;
+
+    function getId(): int
+    {
+        return $this->id;
+    }
+
+    function setId(int $id): self
+    {
+        $this->id = $id;
+        return $this;
+    }
+
+    function getType(): mixed
+    {
+        return $this->type;
+    }
+
+    function setType(mixed $type): self
+    {
+        $this->type = $type;
+        return $this;
+    }
+
+    function getExpiryDate(): DateTimeInterface
+    {
+        return $this->expiryDate;
+    }
+
+    function setExpiryDate(DateTimeInterface $expiryDate): self
+    {
+        $this->expiryDate = $expiryDate;
+        return $this;
+    }
+
+    function getToken(): mixed
+    {
+        return $this->token;
+    }
+
+    function setToken(mixed $token): self
+    {
+        $this->token = $token;
+        return $this;
+    }
+
+    function getCreateDate(): DateTimeInterface
+    {
+        return $this->createDate;
+    }
+
+    function setCreateDate(DateTimeInterface $createDate): self
+    {
+        $this->createDate = $createDate;
+        return $this;
+    }
+
+    function getUpdateDate(): DateTimeInterface
+    {
+        return $this->updateDate;
+    }
+
+    function setUpdateDate(DateTimeInterface $updateDate): self
+    {
+        $this->updateDate = $updateDate;
+        return $this;
+    }
+
+    function getLegacyId(): int
+    {
+        return $this->legacyId;
+    }
+
+    function setLegacyId(int $legacyId): self
+    {
+        $this->legacyId = $legacyId;
+        return $this;
+    }
+
+    function getCreatedBy(): int
+    {
+        return $this->createdBy;
+    }
+
+    function setCreatedBy(int $createdBy): self
+    {
+        $this->createdBy = $createdBy;
+        return $this;
+    }
+
+    function getUpdatedBy(): int
+    {
+        return $this->updatedBy;
+    }
+
+    function setUpdatedBy(int $updatedBy): self
+    {
+        $this->updatedBy = $updatedBy;
+        return $this;
+    }
+
+    function getDraft(): bool
+    {
+        return $this->draft;
+    }
+
+    function setDraft(bool $draft): self
+    {
+        $this->draft = $draft;
+        return $this;
+    }
+
+    function getAccess(): App\Entity\Access\Access
+    {
+        return $this->access;
+    }
+
+    function setAccess(App\Entity\Access\Access $access): self
+    {
+        $this->access = $access;
+        return $this;
+    }
+}