<?php
namespace App\Entity;
use App\Repository\TestimonialsRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=TestimonialsRepository::class)
*/
class Testimonials
{
/**
* @ORM\Id
*
* @ORM\GeneratedValue
*
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $fullname;
/**
* @ORM\Column(type="string", length=255)
*/
private $email;
/**
* @ORM\Column(type="text")
*/
private $message;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $createdAt;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $validatedAt;
/**
* @ORM\Column(type="integer")
*/
private $rate;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $siteUrl;
public function getId(): ?int
{
return $this->id;
}
public function getFullname(): ?string
{
return $this->fullname;
}
public function setFullname(string $fullname): self
{
$this->fullname = $fullname;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(string $message): self
{
$this->message = $message;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getValidatedAt(): ?\DateTimeImmutable
{
return $this->validatedAt;
}
public function setValidatedAt(\DateTimeImmutable $validatedAt): self
{
$this->validatedAt = $validatedAt;
return $this;
}
public function getRate(): ?int
{
return $this->rate;
}
public function setRate(int $rate): self
{
$this->rate = $rate;
return $this;
}
public function getSiteUrl(): ?string
{
return $this->siteUrl;
}
public function setSiteUrl(?string $siteUrl): self
{
$this->siteUrl = $siteUrl;
return $this;
}
}