src/Entity/PipelineGmbAvis.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PipelineGmbAvisRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassPipelineGmbAvisRepository::class)]
  6. class PipelineGmbAvis
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\OneToOne(inversedBy'pipelineGmbAvis'targetEntityAccountingFirm::class, cascade: ['persist''remove'])]
  13.     #[ORM\JoinColumn(nullablefalse)]
  14.     private $accountingFirm;
  15.     #[ORM\Column(type'float'nullabletrue)]
  16.     private $gmbScore;
  17.     #[ORM\Column(type'datetime_immutable'nullabletrue)]
  18.     private $lastMailSentAt;
  19.     #[ORM\Column(type'string'length255nullabletrue)]
  20.     private $trelloCardId;
  21.     #[ORM\Column(type'text'nullabletrue)]
  22.     private $clientEmails;
  23.     #[ORM\Column(type'datetime_immutable')]
  24.     private $createdAt;
  25.     #[ORM\Column(type'datetime_immutable')]
  26.     private $updatedAt;
  27.     #[ORM\Column(type'integer')]
  28.     private $step 1;
  29.     #[ORM\Column(type'integer'options: ['default' => 0])]
  30.     private $emailsSentCount 0;
  31.     #[ORM\Column(type'datetime_immutable'nullabletrue)]
  32.     private $lastLotSentAt;
  33.     public function __construct()
  34.     {
  35.         $this->createdAt = new \DateTimeImmutable();
  36.         $this->updatedAt = new \DateTimeImmutable();
  37.     }
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getAccountingFirm(): ?AccountingFirm
  43.     {
  44.         return $this->accountingFirm;
  45.     }
  46.     public function setAccountingFirm(AccountingFirm $accountingFirm): self
  47.     {
  48.         $this->accountingFirm $accountingFirm;
  49.         return $this;
  50.     }
  51.     public function getGmbScore(): ?float
  52.     {
  53.         return $this->gmbScore;
  54.     }
  55.     public function setGmbScore(?float $gmbScore): self
  56.     {
  57.         $this->gmbScore $gmbScore;
  58.         return $this;
  59.     }
  60.     public function getLastMailSentAt(): ?\DateTimeImmutable
  61.     {
  62.         return $this->lastMailSentAt;
  63.     }
  64.     public function setLastMailSentAt(?\DateTimeImmutable $lastMailSentAt): self
  65.     {
  66.         $this->lastMailSentAt $lastMailSentAt;
  67.         return $this;
  68.     }
  69.     public function getTrelloCardId(): ?string
  70.     {
  71.         return $this->trelloCardId;
  72.     }
  73.     public function setTrelloCardId(?string $trelloCardId): self
  74.     {
  75.         $this->trelloCardId $trelloCardId;
  76.         return $this;
  77.     }
  78.     public function getClientEmails(): ?string
  79.     {
  80.         return $this->clientEmails;
  81.     }
  82.     public function setClientEmails(?string $clientEmails): self
  83.     {
  84.         $this->clientEmails $clientEmails;
  85.         return $this;
  86.     }
  87.     public function getCreatedAt(): ?\DateTimeImmutable
  88.     {
  89.         return $this->createdAt;
  90.     }
  91.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  92.     {
  93.         $this->createdAt $createdAt;
  94.         return $this;
  95.     }
  96.     public function getUpdatedAt(): ?\DateTimeImmutable
  97.     {
  98.         return $this->updatedAt;
  99.     }
  100.     public function setUpdatedAt(\DateTimeImmutable $updatedAt): self
  101.     {
  102.         $this->updatedAt $updatedAt;
  103.         return $this;
  104.     }
  105.     public function getStep(): ?int
  106.     {
  107.         return $this->step;
  108.     }
  109.     public function setStep(int $step): self
  110.     {
  111.         $this->step $step;
  112.         return $this;
  113.     }
  114.     public function getEmailsSentCount(): ?int
  115.     {
  116.         return $this->emailsSentCount;
  117.     }
  118.     public function setEmailsSentCount(int $emailsSentCount): self
  119.     {
  120.         $this->emailsSentCount $emailsSentCount;
  121.         return $this;
  122.     }
  123.     public function getLastLotSentAt(): ?\DateTimeImmutable
  124.     {
  125.         return $this->lastLotSentAt;
  126.     }
  127.     public function setLastLotSentAt(?\DateTimeImmutable $lastLotSentAt): self
  128.     {
  129.         $this->lastLotSentAt $lastLotSentAt;
  130.         return $this;
  131.     }
  132. }