You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
1.5 KiB
87 lines
1.5 KiB
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* Templates
|
|
*
|
|
* @ORM\Table(name="templates")
|
|
* @ORM\Entity
|
|
*/
|
|
class Templates
|
|
{
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="name", type="text", length=65535, nullable=false)
|
|
*/
|
|
private $name;
|
|
|
|
/**
|
|
* @var string|null
|
|
*
|
|
* @ORM\Column(name="description", type="text", length=65535, nullable=true)
|
|
*/
|
|
private $description;
|
|
|
|
/**
|
|
* @var string|null
|
|
*
|
|
* @ORM\Column(name="template", type="text", length=65535, nullable=true)
|
|
*/
|
|
private $template;
|
|
|
|
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 getDescription(): ?string
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
public function setDescription(?string $description): self
|
|
{
|
|
$this->description = $description;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTemplate(): ?string
|
|
{
|
|
return $this->template;
|
|
}
|
|
|
|
public function setTemplate(?string $template): self
|
|
{
|
|
$this->template = $template;
|
|
|
|
return $this;
|
|
}
|
|
|
|
|
|
}
|