0])] private int $position = 0; #[ORM\Column(type: Types::DATETIME_IMMUTABLE, name: 'createdAt')] private DateTimeImmutable $createdAt; #[ORM\Column(type: Types::DATETIME_IMMUTABLE, name: 'updatedAt')] private DateTimeImmutable $updatedAt; public function __construct() { $this->createdAt = new DateTimeImmutable(); $this->updatedAt = new DateTimeImmutable(); } public function getComposant(): Composant { return $this->composant; } public function setComposant(Composant $composant): static { $this->composant = $composant; return $this; } public function getTypeProduct(): ?ModelType { return $this->typeProduct; } public function setTypeProduct(?ModelType $typeProduct): static { $this->typeProduct = $typeProduct; return $this; } public function getSelectedProduct(): ?Product { return $this->selectedProduct; } public function setSelectedProduct(?Product $selectedProduct): static { $this->selectedProduct = $selectedProduct; return $this; } public function getFamilyCode(): ?string { return $this->familyCode; } public function setFamilyCode(?string $familyCode): static { $this->familyCode = $familyCode; return $this; } public function getPosition(): int { return $this->position; } public function setPosition(int $position): static { $this->position = $position; return $this; } }