<?php
namespace App\Entity;
use DateImmutable;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\ManifestationRepository;
/**
* @ORM\Entity(repositoryClass=ManifestationRepository::class)
*/
class Manifestation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $titre;
/**
* @ORM\Column(type="string", length=255)
*/
private $type;
/**
* @ORM\Column(type="boolean")
*/
private $isDeleted=false;
/**
* @ORM\Column(type="date_immutable")
*/
private $date;
/**
* @ORM\Column(type="time_immutable")
*/
private $time;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
public function getIsDeleted(): ?bool
{
return $this->isDeleted;
}
public function setIsDeleted(bool $isDeleted): self
{
$this->isDeleted = $isDeleted;
return $this;
}
public function getDate(): ?\DateTimeImmutable
{
return $this->date;
}
public function setDate(\DateTimeImmutable $date): self
{
$this->date = $date;
return $this;
}
public function getTime(): ?\DateTimeImmutable
{
return $this->time;
}
public function setTime(\DateTimeImmutable $time): self
{
$this->time = $time;
return $this;
}
public function isIsDeleted(): ?bool
{
return $this->isDeleted;
}
}