<?php
namespace App\Entity\Document;
use App\Repository\Document\DocumentEmailTemplateRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Uid\Uuid;
/**
* @ORM\Entity(repositoryClass=DocumentEmailTemplateRepository::class)
*/
class DocumentEmailTemplate
{
/**
* @ORM\Id
* @ORM\Column(type="uuid", unique=true)
* @ORM\GeneratedValue(strategy="CUSTOM")
* @ORM\CustomIdGenerator(class="doctrine.uuid_generator")
*/
private Uuid $id;
/**
* @ORM\Column(type="string", length=255)
*/
private string $template_name;
/**
* @ORM\Column(type="string", length=255)
*/
private ?string $email_template;
public function getId(): Uuid
{
return $this->id;
}
/**
* @return string|null
*/
public function getTemplateName(): ?string
{
return $this->template_name;
}
/**
* @param string $template_name
* @return $this
*/
public function setTemplateName(string $template_name): self
{
$this->template_name = $template_name;
return $this;
}
public function getEmailTemplate(): ?string
{
return $this->email_template;
}
public function setEmailTemplate(string $email_template): self
{
$this->email_template = $email_template;
return $this;
}
}