<?php
namespace App\Entity;
use App\Repository\Actuv2ChiffredumoisRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* Actuv2Chiffredumois
*
*/
#[ORM\Table(name: 'actuv2_chiffreDuMois')]
#[ORM\Entity(repositoryClass: Actuv2ChiffredumoisRepository::class)]
class Actuv2Chiffredumois
{
/**
* @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: 'chiffre', type: 'string', length: 255, nullable: false)]
private $chiffre = '';
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 getChiffre(): ?string
{
return $this->chiffre;
}
public function setChiffre(string $chiffre): self
{
$this->chiffre = $chiffre;
return $this;
}
}