<?php
namespace App\Entity\Components;
use App\Repository\Components\HardComponentRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HardComponentRepository::class)]
class HardComponent
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $content = null;
#[ORM\Column(length: 30, nullable: true)]
private ?string $ComplexType = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(string $content): self
{
$this->content = $content;
return $this;
}
public function getComplexType(): ?string
{
return $this->ComplexType;
}
public function setComplexType(?string $ComplexType): static
{
$this->ComplexType = $ComplexType;
return $this;
}
}