feat(Product): Ajoute un champ productId pour la synchronisation Stripe.

🎨 style(product/products.twig): Affiche l'état de synchronisation Stripe.
```
This commit is contained in:
Serreau Jovann
2026-01-16 13:55:11 +01:00
parent 1304260c1b
commit 85b3f631d1
3 changed files with 72 additions and 15 deletions

View File

@@ -49,6 +49,9 @@ class Product
#[ORM\Column(nullable: true)]
private ?\DateTimeImmutable $updatedAt = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $productId = null;
public function getId(): ?int
{
return $this->id;
@@ -173,4 +176,16 @@ class Product
{
return $this->imageSize;
}
public function getProductId(): ?string
{
return $this->productId;
}
public function setProductId(?string $productId): static
{
$this->productId = $productId;
return $this;
}
}