<?phpnamespace App\Entity;use App\Repository\ContactRequestRepository;use Doctrine\ORM\Mapping as ORM;use Moka\Cms\GeneratedEntity\Entry\Store;#[ORM\Entity(repositoryClass: ContactRequestRepository::class)]class ContactRequest{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private ?int $id = null; #[ORM\Column(type: 'string', length: 255)] private ?string $firstname = null; #[ORM\Column(type: 'string', length: 255)] private ?string $lastname = null; #[ORM\Column(type: 'string', length: 255)] private ?string $email = null; #[ORM\Column(type: 'string', length: 255)] private ?string $zipcode = null; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $city = null; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $phone = null; #[ORM\Column(type: 'text')] private ?string $message = null; #[ORM\ManyToOne(targetEntity: Store::class)] private ?Store $store = null; #[ORM\Column(type: 'datetime_immutable')] private \DateTimeImmutable $createdAt; public function __construct() { $this->createdAt = new \DateTimeImmutable(); } public function getId(): ?int { return $this->id; } public function getFirstname(): ?string { return $this->firstname; } public function setFirstname(string $firstname): self { $this->firstname = $firstname; return $this; } public function getLastname(): ?string { return $this->lastname; } public function setLastname(string $lastname): self { $this->lastname = $lastname; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getZipcode(): ?string { return $this->zipcode; } public function setZipcode(string $zipcode): self { $this->zipcode = $zipcode; return $this; } public function getCity(): ?string { return $this->city; } public function setCity(?string $city): self { $this->city = $city; return $this; } public function getPhone(): ?string { return $this->phone; } public function setPhone(?string $phone): self { $this->phone = $phone; return $this; } public function getMessage(): ?string { return $this->message; } public function setMessage(string $message): self { $this->message = $message; return $this; } public function getStore(): ?Store { return $this->store; } public function setStore(?Store $store): self { $this->store = $store; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(\DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; }}