<?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(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $date;
/**
* @ORM\ManyToOne(targetEntity=Sejour::class, inversedBy="temoignages")
*/
private $sejour;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isValid;
/**
* @ORM\ManyToOne(targetEntity=SejourSession::class, inversedBy="temoignages")
*/
private $sejourSession;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $updatedDate;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $validationDate;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $note;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $accroche;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $legacyId;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getSejour(): ?Sejour
{
return $this->sejour;
}
public function setSejour(?Sejour $sejour): self
{
$this->sejour = $sejour;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getIsValid(): ?bool
{
return $this->isValid;
}
public function setIsValid(?bool $isValid): self
{
$this->isValid = $isValid;
return $this;
}
public function getSejourSession(): ?SejourSession
{
return $this->sejourSession;
}
public function setSejourSession(?SejourSession $sejourSession): self
{
$this->sejourSession = $sejourSession;
return $this;
}
public function getUpdatedDate(): ?\DateTimeInterface
{
return $this->updatedDate;
}
public function setUpdatedDate(?\DateTimeInterface $updatedDate): self
{
$this->updatedDate = $updatedDate;
return $this;
}
public function getValidationDate(): ?\DateTimeInterface
{
return $this->validationDate;
}
public function setValidationDate(?\DateTimeInterface $validationDate): self
{
$this->validationDate = $validationDate;
return $this;
}
public function getNote(): ?int
{
return $this->note;
}
public function setNote(?int $note): self
{
$this->note = $note;
return $this;
}
public function getAccroche(): ?string
{
return $this->accroche;
}
public function setAccroche(?string $accroche): self
{
$this->accroche = $accroche;
return $this;
}
public function getLegacyId(): ?int
{
return $this->legacyId;
}
public function setLegacyId(?int $legacyId): self
{
$this->legacyId = $legacyId;
return $this;
}
}