<?phpnamespace App\Entity;use App\Repository\BlogRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: BlogRepository::class)]class Blog{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $Title = null; #[ORM\Column(length: 255)] private ?string $Author = null; #[ORM\Column(length: 255, nullable: true)] private ?string $Date = null; #[ORM\Column(length: 255)] private ?string $Image = null; #[ORM\Column(length: 255)] private ?string $Slug = null; #[ORM\Column(type: Types::TEXT)] private ?string $Content = null; #[ORM\Column] private ?bool $active = null; #[ORM\Column(type: Types::TEXT)] private ?string $resume = null; public function getId(): ?int { return $this->id; } public function getTitle(): ?string { return $this->Title; } public function setTitle(string $Title): static { $this->Title = $Title; return $this; } public function getAuthor(): ?string { return $this->Author; } public function setAuthor(string $Author): static { $this->Author = $Author; return $this; } public function getDate(): ?string { return $this->Date; } public function setDate(?string $Date): static { $this->Date = $Date; return $this; } public function getImage(): ?string { return $this->Image; } public function setImage(string $Image): static { $this->Image = $Image; return $this; } public function getSlug(): ?string { return $this->Slug; } public function setSlug(string $Slug): static { $this->Slug = $Slug; return $this; } public function getContent(): ?string { return $this->Content; } public function setContent(string $Content): static { $this->Content = $Content; return $this; } public function isActive(): ?bool { return $this->active; } public function setActive(bool $active): static { $this->active = $active; return $this; } public function getResume(): ?string { return $this->resume; } public function setResume(string $resume): static { $this->resume = $resume; return $this; }}