<?phpnamespace App\Entity;use App\Repository\SuiviConsoConsentRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=SuiviConsoConsentRepository::class) */class SuiviConsoConsent{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string") */ private $customerNumber; /** * @ORM\Column(type="datetime") */ private $submittedAt; /** * @ORM\Column(type="boolean") */ private $daily; /** * @ORM\Column(type="boolean", nullable=true) */ private $hourly; /** * @ORM\Column(type="datetime", nullable=true) */ private $revokedAt; /** * @ORM\Column(type="array") */ private $postNumbers = []; public function getId(): ?int { return $this->id; } public function getCustomerNumber(): ?string { return $this->customerNumber; } public function setCustomerNumber(string $customerNumber): self { $this->customerNumber = $customerNumber; return $this; } public function getSubmittedAt(): ?\DateTimeInterface { return $this->submittedAt; } public function setSubmittedAt(\DateTimeInterface $submittedAt): self { $this->submittedAt = $submittedAt; return $this; } public function getDaily(): ?bool { return $this->daily; } public function setDaily(bool $daily): self { $this->daily = $daily; return $this; } public function getHourly(): ?bool { return $this->hourly; } public function setHourly(?bool $hourly): self { $this->hourly = $hourly; return $this; } public function getRevokedAt(): ?\DateTimeInterface { return $this->revokedAt; } public function setRevokedAt(?\DateTimeInterface $revokedAt): self { $this->revokedAt = $revokedAt; return $this; } public function getPostNumbers(): ?array { return $this->postNumbers; } public function setPostNumbers(array $postNumbers): self { $this->postNumbers = $postNumbers; return $this; }}