<?phpnamespace App\Croqvacances\CookieConsentBundle\Entity;use App\Repository\Cook2Repository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=Cook2Repository::class) */class Cook2{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=50, nullable=true) */ private $ipAddress; /** * @ORM\Column(type="string", length=120) */ private $cookieConsentKey; /** * @ORM\Column(type="string", length=50) */ private $cookieName; /** * @ORM\Column(type="string", length=5) */ private $cookieValue; /** * @ORM\Column(type="datetime_immutable") */ private $createdAt; /** * @ORM\Column(type="datetime_immutable") */ private $validUntil; public function getId(): ?int { return $this->id; } public function getIpAddress(): ?string { return $this->ipAddress; } public function setIpAddress(?string $ipAddress): self { $this->ipAddress = $ipAddress; return $this; } public function getCookieConsentKey(): ?string { return $this->cookieConsentKey; } public function setCookieConsentKey(string $cookieConsentKey): self { $this->cookieConsentKey = $cookieConsentKey; return $this; } public function getCookieName(): ?string { return $this->cookieName; } public function setCookieName(string $cookieName): self { $this->cookieName = $cookieName; return $this; } public function getCookieValue(): ?string { return $this->cookieValue; } public function setCookieValue(string $cookieValue): self { $this->cookieValue = $cookieValue; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(\DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getvalidUntil(): ?\DateTimeImmutable { return $this->validUntil; } public function setvalidUntil(\DateTimeImmutable $validUntil): self { $this->validUntil = $validUntil; return $this; } }