src/Application/Project/SettingBundle/Entity/SmtpEmail.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Application\Project\SettingBundle\Entity;
  3. use App\Application\Project\SettingBundle\Repository\SmtpEmailRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassSmtpEmailRepository::class)]
  6. class SmtpEmail
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(name'fromName'type'string'nullabletrue)]
  13.     private ?string $fromName null;
  14.     #[ORM\Column(name'fromEmail'type'string'nullabletrue)]
  15.     private ?string $fromEmail null;
  16.     #[ORM\Column(name'username'type'string'nullabletrue)]
  17.     private ?string $username null;
  18.     #[ORM\Column(name'host'type'string'nullabletrue)]
  19.     private ?string $host null;
  20.     #[ORM\Column(name'port'type'decimal'nullabletrue)]
  21.     private ?string $port null;
  22.     #[ORM\Column(name'password'type'string'nullabletrue)]
  23.     private ?string $password null;
  24.     #[ORM\Column(name'typeSecurity'type'string'nullabletrue)]
  25.     private ?string $typeSecurity null;
  26.     #[ORM\Column(name'debug'type'boolean'nullabletrue)]
  27.     private ?bool $debug null;
  28.     /**
  29.      * @return int|null
  30.      */
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     /**
  36.      * @param int|null $id
  37.      */
  38.     public function setId(?int $id): void
  39.     {
  40.         $this->id $id;
  41.     }
  42.     /**
  43.      * @return string|null
  44.      */
  45.     public function getFromName(): ?string
  46.     {
  47.         return $this->fromName;
  48.     }
  49.     /**
  50.      * @param string|null $fromName
  51.      */
  52.     public function setFromName(?string $fromName): void
  53.     {
  54.         $this->fromName $fromName;
  55.     }
  56.     /**
  57.      * @return string|null
  58.      */
  59.     public function getFromEmail(): ?string
  60.     {
  61.         return $this->fromEmail;
  62.     }
  63.     /**
  64.      * @param string|null $fromEmail
  65.      */
  66.     public function setFromEmail(?string $fromEmail): void
  67.     {
  68.         $this->fromEmail $fromEmail;
  69.     }
  70.     /**
  71.      * @return string|null
  72.      */
  73.     public function getUsername(): ?string
  74.     {
  75.         return $this->username;
  76.     }
  77.     /**
  78.      * @param string|null $username
  79.      */
  80.     public function setUsername(?string $username): void
  81.     {
  82.         $this->username $username;
  83.     }
  84.     /**
  85.      * @return string|null
  86.      */
  87.     public function getHost(): ?string
  88.     {
  89.         return $this->host;
  90.     }
  91.     /**
  92.      * @param string|null $host
  93.      */
  94.     public function setHost(?string $host): void
  95.     {
  96.         $this->host $host;
  97.     }
  98.     /**
  99.      * @return string|null
  100.      */
  101.     public function getPort(): ?string
  102.     {
  103.         return $this->port;
  104.     }
  105.     /**
  106.      * @param string|null $port
  107.      */
  108.     public function setPort(?string $port): void
  109.     {
  110.         $this->port $port;
  111.     }
  112.     /**
  113.      * @return string|null
  114.      */
  115.     public function getPassword(): ?string
  116.     {
  117.         return $this->password;
  118.     }
  119.     /**
  120.      * @param string|null $password
  121.      */
  122.     public function setPassword(?string $password): void
  123.     {
  124.         $this->password $password;
  125.     }
  126.     /**
  127.      * @return string|null
  128.      */
  129.     public function getTypeSecurity(): ?string
  130.     {
  131.         return $this->typeSecurity;
  132.     }
  133.     /**
  134.      * @param string|null $typeSecurity
  135.      */
  136.     public function setTypeSecurity(?string $typeSecurity): void
  137.     {
  138.         $this->typeSecurity $typeSecurity;
  139.     }
  140.     /**
  141.      * @return bool|null
  142.      */
  143.     public function getDebug(): ?bool
  144.     {
  145.         return $this->debug;
  146.     }
  147.     /**
  148.      * @param bool|null $debug
  149.      */
  150.     public function setDebug(?bool $debug): void
  151.     {
  152.         $this->debug $debug;
  153.     }
  154. }