src/Entity/SuiviConsoConsent.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SuiviConsoConsentRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SuiviConsoConsentRepository::class)
  7.  */
  8. class SuiviConsoConsent
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string")
  18.      */
  19.     private $customerNumber;
  20.     /**
  21.      * @ORM\Column(type="datetime")
  22.      */
  23.     private $submittedAt;
  24.     /**
  25.      * @ORM\Column(type="boolean")
  26.      */
  27.     private $daily;
  28.     /**
  29.      * @ORM\Column(type="boolean", nullable=true)
  30.      */
  31.     private $hourly;
  32.     /**
  33.      * @ORM\Column(type="datetime", nullable=true)
  34.      */
  35.     private $revokedAt;
  36.     /**
  37.      * @ORM\Column(type="array")
  38.      */
  39.     private $postNumbers = [];
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getCustomerNumber(): ?string
  45.     {
  46.         return $this->customerNumber;
  47.     }
  48.     public function setCustomerNumber(string $customerNumber): self
  49.     {
  50.         $this->customerNumber $customerNumber;
  51.         return $this;
  52.     }
  53.     public function getSubmittedAt(): ?\DateTimeInterface
  54.     {
  55.         return $this->submittedAt;
  56.     }
  57.     public function setSubmittedAt(\DateTimeInterface $submittedAt): self
  58.     {
  59.         $this->submittedAt $submittedAt;
  60.         return $this;
  61.     }
  62.     public function getDaily(): ?bool
  63.     {
  64.         return $this->daily;
  65.     }
  66.     public function setDaily(bool $daily): self
  67.     {
  68.         $this->daily $daily;
  69.         return $this;
  70.     }
  71.     public function getHourly(): ?bool
  72.     {
  73.         return $this->hourly;
  74.     }
  75.     public function setHourly(?bool $hourly): self
  76.     {
  77.         $this->hourly $hourly;
  78.         return $this;
  79.     }
  80.     public function getRevokedAt(): ?\DateTimeInterface
  81.     {
  82.         return $this->revokedAt;
  83.     }
  84.     public function setRevokedAt(?\DateTimeInterface $revokedAt): self
  85.     {
  86.         $this->revokedAt $revokedAt;
  87.         return $this;
  88.     }
  89.     public function getPostNumbers(): ?array
  90.     {
  91.         return $this->postNumbers;
  92.     }
  93.     public function setPostNumbers(array $postNumbers): self
  94.     {
  95.         $this->postNumbers $postNumbers;
  96.         return $this;
  97.     }
  98. }