Newer
Older
<?php
namespace App\Entity;
use App\Repository\SeoRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SeoRepository::class)]
class Seo
{
#[ORM\Id]
#[ORM\Column(type: 'uuid', unique: true)]
private ?Uuid $id = null;
#[ORM\Column(length: 255)]
private ?string $title = null;
#[ORM\Column(length: 255)]
private ?string $description = null;
#[ORM\Column(length: 255)]
private ?string $keywords = null;
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): static
{
$this->title = $title;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(string $description): static
{
$this->description = $description;
return $this;
}
public function getKeywords(): ?string
{
return $this->keywords;
}
public function setKeywords(string $keywords): static
{
$this->keywords = $keywords;
return $this;
}
}