src/Entity/SaquitoContacto.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * Entidad encargada del manejo de los formularios de contacto
  5.  *
  6.  * 
  7.  * @category Entidades
  8.  * @package Saquito
  9.  * @copyright (c) 2022, APDiseño
  10.  * @author Andrés Pieruccioni <andrespieruccioni@gmail.com>
  11.  */
  12. class SaquitoContacto
  13. {
  14.     private $nombre;
  15.     private $email;
  16.     private $telefono;
  17.     private $asunto;
  18.     private $cuerpo;
  19.     public function getNombre(): ?string
  20.     {
  21.         return $this->nombre;
  22.     }
  23.     public function setNombre(string $nombre): self
  24.     {
  25.         $this->nombre $nombre;
  26.         return $this;
  27.     }
  28.     public function getEmail(): ?string
  29.     {
  30.         return $this->email;
  31.     }
  32.     public function setEmail(string $email): self
  33.     {
  34.         $this->email $email;
  35.         return $this;
  36.     }
  37.     public function getTelefono(): ?string
  38.     {
  39.         return $this->telefono;
  40.     }
  41.     public function setTelefono(string $telefono): self
  42.     {
  43.         $this->telefono $telefono;
  44.         return $this;
  45.     }
  46.     public function getAsunto(): ?string
  47.     {
  48.         return $this->asunto;
  49.     }
  50.     public function setAsunto(string $asunto): self
  51.     {
  52.         $this->asunto $asunto;
  53.         return $this;
  54.     }
  55.     public function getCuerpo(): ?string
  56.     {
  57.         return $this->cuerpo;
  58.     }
  59.     public function setCuerpo(string $cuerpo): self
  60.     {
  61.         $this->cuerpo $cuerpo;
  62.         return $this;
  63.     }
  64. }