src/Flexy/ShopBundle/Entity/Product/MetaDataExtra.php line 10
<?php
namespace App\Flexy\ShopBundle\Entity\Product;
use App\Flexy\ShopBundle\Repository\Product\MetaDataExtraRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MetaDataExtraRepository::class)]
class MetaDataExtra
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $type = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $name = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $description = null;
#[ORM\Column(nullable: true)]
private ?float $price = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $photo = null;
#[ORM\Column(nullable: true)]
private ?bool $is_visible = null;
public function getId(): ?int
{
return $this->id;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): static
{
$this->type = $type;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): static
{
$this->name = $name;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): static
{
$this->description = $description;
return $this;
}
public function getPrice(): ?float
{
return $this->price;
}
public function setPrice(?float $price): static
{
$this->price = $price;
return $this;
}
public function getPhoto(): ?string
{
return $this->photo;
}
public function setPhoto(?string $photo): static
{
$this->photo = $photo;
return $this;
}
public function isIsVisible(): ?bool
{
return $this->is_visible;
}
public function setIsVisible(?bool $is_visible): static
{
$this->is_visible = $is_visible;
return $this;
}
}