src/Entity/EmailTemplates.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EmailTemplatesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=EmailTemplatesRepository::class)
  7.  */
  8. class EmailTemplates
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $ownerId;
  20.     /**
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     private $type;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $name;
  28.     
  29.     /**
  30.      * @ORM\Column(type="string", length=255)
  31.      */
  32.     private $email;
  33.     /**
  34.      * @ORM\Column(type="string", length=50)
  35.      */
  36.     private $short;
  37.     /**
  38.      * @ORM\Column(type="text", nullable=true)
  39.      */
  40.     private $template;
  41.     public function getId(): ?int
  42.     {
  43.         return $this->id;
  44.     }
  45.     public function getOwnerId(): ?int
  46.     {
  47.         return $this->ownerId;
  48.     }
  49.     public function setOwnerId(int $ownerId): self
  50.     {
  51.         $this->ownerId $ownerId;
  52.         return $this;
  53.     }
  54.     public function getType(): ?int
  55.     {
  56.         return $this->type;
  57.     }
  58.     public function setType(int $type): self
  59.     {
  60.         $this->type $type;
  61.         return $this;
  62.     }
  63.     public function getName(): ?string
  64.     {
  65.         return $this->name;
  66.     }
  67.     public function setName(string $name): self
  68.     {
  69.         $this->name $name;
  70.         return $this;
  71.     }
  72.     
  73.     public function getEmail(): ?string
  74.     {
  75.         return $this->email;
  76.     }
  77.     public function setEmail(string $email): self
  78.     {
  79.         $this->email $email;
  80.         return $this;
  81.     }
  82.     public function getShort(): ?string
  83.     {
  84.         return $this->short;
  85.     }
  86.     public function setShort(string $short): self
  87.     {
  88.         $this->short $short;
  89.         return $this;
  90.     }
  91.     public function getTemplate(): ?string
  92.     {
  93.         return $this->template;
  94.     }
  95.     public function setTemplate(?string $template): self
  96.     {
  97.         $this->template $template;
  98.         return $this;
  99.     }
  100. }