```
✨ 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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user