src/Entity/ContactEtreRappele.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactEtreRappeleRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassContactEtreRappeleRepository::class)]
  6. class ContactEtreRappele
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $name;
  14.     #[ORM\Column(type'string'length255)]
  15.     private $phone;
  16.     #[ORM\ManyToOne(targetEntityAccountingFirm::class, inversedBy'contactEtreRappeles')]
  17.     private $accountingFirm;
  18.     #[ORM\Column(type'datetime_immutable')]
  19.     private $createdAt;
  20.     #[ORM\Column(type'string'length255)]
  21.     private $page;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getName(): ?string
  27.     {
  28.         return $this->name;
  29.     }
  30.     public function setName(string $name): self
  31.     {
  32.         $this->name $name;
  33.         return $this;
  34.     }
  35.     public function getPhone(): ?string
  36.     {
  37.         return $this->phone;
  38.     }
  39.     public function setPhone(string $phone): self
  40.     {
  41.         $this->phone $phone;
  42.         return $this;
  43.     }
  44.     public function getAccountingFirm(): ?AccountingFirm
  45.     {
  46.         return $this->accountingFirm;
  47.     }
  48.     public function setAccountingFirm(?AccountingFirm $accountingFirm): self
  49.     {
  50.         $this->accountingFirm $accountingFirm;
  51.         return $this;
  52.     }
  53.     public function getCreatedAt(): ?\DateTimeImmutable
  54.     {
  55.         return $this->createdAt;
  56.     }
  57.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  58.     {
  59.         $this->createdAt $createdAt;
  60.         return $this;
  61.     }
  62.     public function getPage(): ?string
  63.     {
  64.         return $this->page;
  65.     }
  66.     public function setPage(string $page): self
  67.     {
  68.         $this->page $page;
  69.         return $this;
  70.     }
  71. }