<?php namespace App\Entity; use App\Repository\MailTesterRequestRepository; use DateTimeImmutable; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=MailTesterRequestRepository::class) */ class MailTesterRequest { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $email; /** * @ORM\Column(type="string", length=255) */ private $name; /** * @ORM\Column(type="boolean") */ private $status; /** * @ORM\Column(type="json", nullable=true) */ private $response = []; /** * @ORM\Column(type="datetime_immutable") */ private $requestAt; /** * @ORM\Column(type="string", length=255) */ private $senderMail; public function getId(): ?int { return $this->id; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function isStatus(): ?bool { return $this->status; } public function setStatus(bool $status): self { $this->status = $status; return $this; } public function getResponse(): ?array { return $this->response; } public function setResponse(?array $response): self { $this->response = $response; return $this; } public function getRequestAt(): ?DateTimeImmutable { return $this->requestAt; } public function setRequestAt( DateTimeImmutable $requestAt): self { $this->requestAt = $requestAt; return $this; } public function getSenderMail(): ?string { return $this->senderMail; } public function setSenderMail(string $senderMail): self { $this->senderMail = $senderMail; return $this; } }