<?php
namespace App\Entity;
use App\Repository\TemoignageRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TemoignageRepository::class)]
class Temoignage
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $fullname = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $travail = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $photo = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $description = null;
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 getTravail(): ?string
{
return $this->travail;
}
public function setTravail(?string $travail): self
{
$this->travail = $travail;
return $this;
}
public function getPhoto(): ?string
{
return $this->photo;
}
public function setPhoto(?string $photo): self
{
$this->photo = $photo;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
}