<?php
namespace App\Entity;
use App\Repository\Actuv2CitationRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* Actuv2Citation
*
*/
#[ORM\Table(name: 'actuv2_citation')]
#[ORM\Entity(repositoryClass: Actuv2CitationRepository::class)]
class Actuv2Citation
{
/**
* @var int
*
*/
#[ORM\Column(name: 'id', type: 'bigint', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $id;
/**
* @var \DateTime|null
*
*/
#[ORM\Column(name: 'date', type: 'date', nullable: true, options: ['comment' => 'période'])]
private $date;
/**
* @var string
*
*/
#[ORM\Column(name: 'titre', type: 'string', length: 255, nullable: false)]
private $titre = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'auteur', type: 'string', length: 255, nullable: true)]
private $auteur = '';
public function getId(): ?string
{
return $this->id;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getAuteur(): ?string
{
return $this->auteur;
}
public function setAuteur(string $auteur): self
{
$this->auteur = $auteur;
return $this;
}
}