src/Domain/Entity/Alarma.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity;
  3. use DateTime;
  4. use DateTimeInterface;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\Uid\Uuid;
  8. class Alarma
  9. {
  10.     private ?Uuid $id null;
  11.     private ?DateTimeInterface $fechaAviso null;
  12.     private ?string $mensaje null;
  13.     private ?bool $recibido null;
  14.     private ?DateTimeInterface $createdAt;
  15.     private ?DateTimeInterface $updatedAt;
  16.     private ?DateTimeInterface $deletedAt;
  17.     private ?Tramite $tramite null;
  18.     public function getFechaAviso(): ?DateTimeInterface
  19.     {
  20.         return $this->fechaAviso;
  21.     }
  22.     public function setFechaAviso(?DateTimeInterface $fechaAviso): static
  23.     {
  24.         $this->fechaAviso $fechaAviso;
  25.         return $this;
  26.     }
  27.     public function getMensaje(): ?string
  28.     {
  29.         return $this->mensaje;
  30.     }
  31.     public function setMensaje(?string $mensaje): static
  32.     {
  33.         $this->mensaje $mensaje;
  34.         return $this;
  35.     }
  36.     public function isRecibido(): ?bool
  37.     {
  38.         return $this->recibido;
  39.     }
  40.     public function setRecibido(?bool $recibido): static
  41.     {
  42.         $this->recibido $recibido;
  43.         return $this;
  44.     }
  45.     public function getCreatedAt(): ?DateTimeInterface
  46.     {
  47.         return $this->createdAt;
  48.     }
  49.     public function setCreatedAt(?DateTimeInterface $createdAt): static
  50.     {
  51.         $this->createdAt $createdAt;
  52.         return $this;
  53.     }
  54.     public function getId(): ?Uuid
  55.     {
  56.         return $this->id;
  57.     }
  58.     public function getTramite(): ?Tramite
  59.     {
  60.         return $this->tramite;
  61.     }
  62.     public function setTramite(?Tramite $tramite): static
  63.     {
  64.         $this->tramite $tramite;
  65.         return $this;
  66.     }
  67.     public function getUpdatedAt(): ?\DateTimeInterface
  68.     {
  69.         return $this->updatedAt;
  70.     }
  71.     public function setUpdatedAt(\DateTimeInterface $updatedAt): static
  72.     {
  73.         $this->updatedAt $updatedAt;
  74.         return $this;
  75.     }
  76.     public function getDeletedAt(): ?\DateTimeInterface
  77.     {
  78.         return $this->deletedAt;
  79.     }
  80.     public function setDeletedAt(?\DateTimeInterface $deletedAt): static
  81.     {
  82.         $this->deletedAt $deletedAt;
  83.         return $this;
  84.     }
  85. }