src/Entity/PipelineMailjet.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PipelineMailjetRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassPipelineMailjetRepository::class)]
  8. class PipelineMailjet
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column(type'integer')]
  13.     private $id;
  14.     #[ORM\ManyToOne(targetEntityAccountingFirm::class, inversedBy'pipelineMailjets')]
  15.     private $accountingFirm;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $status;
  18.     #[ORM\Column(type'datetime_immutable')]
  19.     private $createdAt;
  20.     #[ORM\Column(type'datetime_immutable')]
  21.     private $updatedAt;
  22.     #[ORM\Column(type'string'length255nullabletrue)]
  23.     private $dns;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private $txt;
  26.     #[ORM\Column(type'datetime_immutable'nullabletrue)]
  27.     private $firstMailSendAt;
  28.     #[ORM\Column(type'boolean'nullabletrue)]
  29.     private $selfManaged;
  30.     #[ORM\Column(type'string'length255nullabletrue)]
  31.     private $trelloCardId;
  32.     #[ORM\Column(type'string'length255nullabletrue)]
  33.     private $urlLoginHost;
  34.     #[ORM\Column(type'string'length255nullabletrue)]
  35.     private $username;
  36.     #[ORM\Column(type'string'length255nullabletrue)]
  37.     private $password;
  38.     #[ORM\Column(type'string'length255nullabletrue)]
  39.     private $spf_domaine;
  40.     #[ORM\Column(type'string'length255nullabletrue)]
  41.     private $spf_txt;
  42.     #[ORM\Column(type'string'length255nullabletrue)]
  43.     private $dkimDomaine;
  44.     #[ORM\Column(type'text'nullabletrue)]
  45.     private $dkimTxt;
  46.     #[ORM\Column(type'text'nullabletrue)]
  47.     private $dispoDoubleAuth;
  48.     #[ORM\Column(type'boolean'nullabletrue)]
  49.     private $skipDomain;
  50.     #[ORM\OneToMany(mappedBy'pipelineMailjet'targetEntityPipelineMailjetDate::class, cascade: ['persist''remove'], orphanRemovaltrue)]
  51.     private $pipelineMailjetDates;
  52.     #[ORM\Column(type'string'length255nullabletrue)]
  53.     private $code_2fa;
  54.     #[ORM\Column(type'boolean'nullabletrue)]
  55.     private $success2fa;
  56.     #[ORM\Column(type'integer'nullabletrue)]
  57.     private $relaunch_count;
  58.     public function __construct()
  59.     {
  60.         $this->pipelineMailjetDates = new ArrayCollection();
  61.     }
  62.     public function getId(): ?int
  63.     {
  64.         return $this->id;
  65.     }
  66.     public function getAccountingFirm(): ?AccountingFirm
  67.     {
  68.         return $this->accountingFirm;
  69.     }
  70.     public function setAccountingFirm(?AccountingFirm $accountingFirm): self
  71.     {
  72.         $this->accountingFirm $accountingFirm;
  73.         return $this;
  74.     }
  75.     public function getStatus(): ?string
  76.     {
  77.         return $this->status;
  78.     }
  79.     public function setStatus(string $status): self
  80.     {
  81.         $this->status $status;
  82.         return $this;
  83.     }
  84.     public function getCreatedAt(): ?\DateTimeImmutable
  85.     {
  86.         return $this->createdAt;
  87.     }
  88.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  89.     {
  90.         $this->createdAt $createdAt;
  91.         return $this;
  92.     }
  93.     public function getUpdatedAt(): ?\DateTimeImmutable
  94.     {
  95.         return $this->updatedAt;
  96.     }
  97.     public function setUpdatedAt(\DateTimeImmutable $updatedAt): self
  98.     {
  99.         $this->updatedAt $updatedAt;
  100.         return $this;
  101.     }
  102.     public function getDns(): ?string
  103.     {
  104.         return $this->dns;
  105.     }
  106.     public function setDns(?string $dns): self
  107.     {
  108.         $this->dns $dns;
  109.         return $this;
  110.     }
  111.   public function getTxt(): ?string
  112.   {
  113.     return $this->txt;
  114.   }
  115.   public function setTxt(?string $txt): self
  116.   {
  117.     $this->txt $txt;
  118.     return $this;
  119.   }
  120.     public function getFirstMailSendAt(): ?\DateTimeImmutable
  121.     {
  122.         return $this->firstMailSendAt;
  123.     }
  124.     public function setFirstMailSendAt(?\DateTimeImmutable $firstMailSendAt): self
  125.     {
  126.         $this->firstMailSendAt $firstMailSendAt;
  127.         return $this;
  128.     }
  129.     public function isSelfManaged(): ?bool
  130.     {
  131.         return $this->selfManaged;
  132.     }
  133.     public function setSelfManaged(?bool $selfManaged): self
  134.     {
  135.         $this->selfManaged $selfManaged;
  136.         return $this;
  137.     }
  138.     public function getTrelloCardId(): ?string
  139.     {
  140.         return $this->trelloCardId;
  141.     }
  142.     public function setTrelloCardId(?string $trelloCardId): self
  143.     {
  144.         $this->trelloCardId $trelloCardId;
  145.         return $this;
  146.     }
  147.     public function getUrlLoginHost(): ?string
  148.     {
  149.         return $this->urlLoginHost;
  150.     }
  151.     public function setUrlLoginHost(?string $urlLoginHost): self
  152.     {
  153.         $this->urlLoginHost $urlLoginHost;
  154.         return $this;
  155.     }
  156.     public function getUsername(): ?string
  157.     {
  158.         return $this->username;
  159.     }
  160.     public function setUsername(?string $username): self
  161.     {
  162.         $this->username $username;
  163.         return $this;
  164.     }
  165.     public function getPassword(): ?string
  166.     {
  167.         return $this->password;
  168.     }
  169.     public function setPassword(?string $password): self
  170.     {
  171.         $this->password $password;
  172.         return $this;
  173.     }
  174.     public function getSpfDomaine(): ?string
  175.     {
  176.         return $this->spf_domaine;
  177.     }
  178.     public function setSpfDomaine(?string $spf_domaine): self
  179.     {
  180.         $this->spf_domaine $spf_domaine;
  181.         return $this;
  182.     }
  183.     public function getSpfTxt(): ?string
  184.     {
  185.         return $this->spf_txt;
  186.     }
  187.     public function setSpfTxt(?string $spf_txt): self
  188.     {
  189.         $this->spf_txt $spf_txt;
  190.         return $this;
  191.     }
  192.     public function getDkimDomaine(): ?string
  193.     {
  194.         return $this->dkimDomaine;
  195.     }
  196.     public function setDkimDomaine(?string $dkimDomaine): self
  197.     {
  198.         $this->dkimDomaine $dkimDomaine;
  199.         return $this;
  200.     }
  201.     public function getDkimTxt(): ?string
  202.     {
  203.         return $this->dkimTxt;
  204.     }
  205.     public function setDkimTxt(?string $dkimTxt): self
  206.     {
  207.         $this->dkimTxt $dkimTxt;
  208.         return $this;
  209.     }
  210.     public function getDispoDoubleAuth(): ?string
  211.     {
  212.         return $this->dispoDoubleAuth;
  213.     }
  214.     public function setDispoDoubleAuth(?string $dispoDoubleAuth): self
  215.     {
  216.         $this->dispoDoubleAuth $dispoDoubleAuth;
  217.         return $this;
  218.     }
  219.     public function isSkipDomain(): ?bool
  220.     {
  221.         return $this->skipDomain;
  222.     }
  223.     public function setSkipDomain(?bool $skipDomain): self
  224.     {
  225.         $this->skipDomain $skipDomain;
  226.         return $this;
  227.     }
  228.     /**
  229.      * @return Collection<int, PipelineMailjetDate>
  230.      */
  231.     public function getPipelineMailjetDates(): Collection
  232.     {
  233.         return $this->pipelineMailjetDates;
  234.     }
  235.     public function addPipelineMailjetDate(PipelineMailjetDate $pipelineMailjetDate): self
  236.     {
  237.         if (!$this->pipelineMailjetDates->contains($pipelineMailjetDate)) {
  238.             $this->pipelineMailjetDates[] = $pipelineMailjetDate;
  239.             $pipelineMailjetDate->setPipelineMailjet($this);
  240.         }
  241.         return $this;
  242.     }
  243.     public function removePipelineMailjetDate(PipelineMailjetDate $pipelineMailjetDate): self
  244.     {
  245.         if ($this->pipelineMailjetDates->removeElement($pipelineMailjetDate)) {
  246.             // set the owning side to null (unless already changed)
  247.             if ($pipelineMailjetDate->getPipelineMailjet() === $this) {
  248.                 $pipelineMailjetDate->setPipelineMailjet(null);
  249.             }
  250.         }
  251.         return $this;
  252.     }
  253.     public function getCode2fa(): ?string
  254.     {
  255.         return $this->code_2fa;
  256.     }
  257.     public function setCode2fa(?string $code_2fa): self
  258.     {
  259.         $this->code_2fa $code_2fa;
  260.         return $this;
  261.     }
  262.     public function isSuccess2fa(): ?bool
  263.     {
  264.         return $this->success2fa;
  265.     }
  266.     public function setSuccess2fa(?bool $success2fa): self
  267.     {
  268.         $this->success2fa $success2fa;
  269.         return $this;
  270.     }
  271.     public function getRelaunchCount(): ?int
  272.     {
  273.         return $this->relaunch_count;
  274.     }
  275.     public function setRelaunchCount(?int $relaunch_count): self
  276.     {
  277.         $this->relaunch_count $relaunch_count;
  278.         return $this;
  279.     }
  280. }