src/Entity/EmailSetting.php line 10
<?php
namespace App\Entity;
use App\Repository\EmailSettingRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EmailSettingRepository::class)]
class EmailSetting
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $template = null;
#[ORM\Column(length: 100)]
private ?string $type = null;
public function getId(): ?int
{
return $this->id;
}
public function getTemplate(): ?string
{
return $this->template;
}
public function setTemplate(string $template): self
{
$this->template = $template;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
}