src/Entity/AppContact.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AppContactRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassAppContactRepository::class)]
  7. class AppContact
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $fullName null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $email null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $object null;
  19.     #[ORM\Column(typeTypes::TEXT)]
  20.     private ?string $message null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $phone null;
  23.     #[ORM\Column]
  24.     private ?bool $isRead null;
  25.     #[ORM\Column]
  26.     private ?bool $deleted null;
  27.     #[ORM\Column]
  28.     private ?\DateTimeImmutable $sendedAt null;
  29.     #[ORM\Column]
  30.     private ?bool $isAnswered null;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getFullName(): ?string
  36.     {
  37.         return $this->fullName;
  38.     }
  39.     public function setFullName(string $fullName): self
  40.     {
  41.         $this->fullName $fullName;
  42.         return $this;
  43.     }
  44.     public function getEmail(): ?string
  45.     {
  46.         return $this->email;
  47.     }
  48.     public function setEmail(string $email): self
  49.     {
  50.         $this->email $email;
  51.         return $this;
  52.     }
  53.     public function getObject(): ?string
  54.     {
  55.         return $this->object;
  56.     }
  57.     public function setObject(string $object): self
  58.     {
  59.         $this->object $object;
  60.         return $this;
  61.     }
  62.     public function getMessage(): ?string
  63.     {
  64.         return $this->message;
  65.     }
  66.     public function setMessage(string $message): self
  67.     {
  68.         $this->message $message;
  69.         return $this;
  70.     }
  71.     public function getPhone(): ?string
  72.     {
  73.         return $this->phone;
  74.     }
  75.     public function setPhone(string $phone): self
  76.     {
  77.         $this->phone $phone;
  78.         return $this;
  79.     }
  80.     public function isIsRead(): ?bool
  81.     {
  82.         return $this->isRead;
  83.     }
  84.     public function setIsRead(bool $isRead): self
  85.     {
  86.         $this->isRead $isRead;
  87.         return $this;
  88.     }
  89.     public function isDeleted(): ?bool
  90.     {
  91.         return $this->deleted;
  92.     }
  93.     public function setDeleted(bool $deleted): self
  94.     {
  95.         $this->deleted $deleted;
  96.         return $this;
  97.     }
  98.     public function getSendedAt(): ?\DateTimeImmutable
  99.     {
  100.         return $this->sendedAt;
  101.     }
  102.     public function setSendedAt(\DateTimeImmutable $sendedAt): self
  103.     {
  104.         $this->sendedAt $sendedAt;
  105.         return $this;
  106.     }
  107.     public function isIsAnswered(): ?bool
  108.     {
  109.         return $this->isAnswered;
  110.     }
  111.     public function setIsAnswered(bool $isAnswered): self
  112.     {
  113.         $this->isAnswered $isAnswered;
  114.         return $this;
  115.     }
  116. }