<?php
namespace App\Entity;
use App\Repository\CustomerContentHowToRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CustomerContentHowToRepository::class)]
class CustomerContentHowTo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?bool $active = null;
#[ORM\ManyToOne(targetEntity: Icon::class)]
#[ORM\JoinColumn(name: 'fk_icon_1', nullable: true)]
private ?Icon $howToIcon1 = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $howToText1 = null;
#[ORM\ManyToOne(targetEntity: Icon::class)]
#[ORM\JoinColumn(name: 'fk_icon_2', nullable: true)]
private ?Icon $howToIcon2 = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $howToText2 = null;
#[ORM\ManyToOne(targetEntity: Icon::class)]
#[ORM\JoinColumn(name: 'fk_icon_3', nullable: true)]
private ?Icon $howToIcon3 = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $howToText3 = null;
#[ORM\OneToOne(targetEntity: Image::class, cascade: ['persist', 'remove'])]
#[ORM\JoinColumn(nullable: true, onDelete: 'SET NULL')]
private ?Image $backgroundImage = null;
#[ORM\Column]
private ?string $backgroundColor = null;
#[ORM\Column]
private ?string $iconColor = null;
public function getId(): ?int
{
return $this->id;
}
public function isActive(): ?bool
{
return $this->active;
}
public function setActive(bool $active): self
{
$this->active = $active;
return $this;
}
public function getHowToText1(): ?string
{
return $this->howToText1;
}
public function setHowToText1(string $howToText1): self
{
$this->howToText1 = $howToText1;
return $this;
}
public function getHowToText2(): ?string
{
return $this->howToText2;
}
public function setHowToText2(string $howToText2): self
{
$this->howToText2 = $howToText2;
return $this;
}
public function getHowToText3(): ?string
{
return $this->howToText3;
}
public function setHowToText3(string $howToText3): self
{
$this->howToText3 = $howToText3;
return $this;
}
public function getHowToIcon1(): ?Icon
{
return $this->howToIcon1;
}
public function setHowToIcon1(?Icon $howToIcon1): self
{
$this->howToIcon1 = $howToIcon1;
return $this;
}
public function getHowToIcon2(): ?Icon
{
return $this->howToIcon2;
}
public function setHowToIcon2(?Icon $howToIcon2): self
{
$this->howToIcon2 = $howToIcon2;
return $this;
}
public function getHowToIcon3(): ?Icon
{
return $this->howToIcon3;
}
public function setHowToIcon3(?Icon $howToIcon3): self
{
$this->howToIcon3 = $howToIcon3;
return $this;
}
public function getBackgroundImage(): ?Image
{
return $this->backgroundImage;
}
public function setBackgroundImage(?Image $backgroundImage): self
{
$this->backgroundImage = $backgroundImage;
return $this;
}
public function getBackgroundColor(): ?string
{
return $this->backgroundColor;
}
public function setBackgroundColor(string $backgroundColor): self
{
$this->backgroundColor = $backgroundColor;
return $this;
}
public function getIconColor(): ?string
{
return $this->iconColor;
}
public function setIconColor(string $iconColor): self
{
$this->iconColor = $iconColor;
return $this;
}
}