<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\StatistiqueRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: StatistiqueRepository::class)]
#[ApiResource]
class Statistique
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $formation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $inscrit = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $formateur = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $pays = null;
public function getId(): ?int
{
return $this->id;
}
public function getFormation(): ?string
{
return $this->formation;
}
public function setFormation(?string $formation): self
{
$this->formation = $formation;
return $this;
}
public function getInscrit(): ?string
{
return $this->inscrit;
}
public function setInscrit(?string $inscrit): self
{
$this->inscrit = $inscrit;
return $this;
}
public function getFormateur(): ?string
{
return $this->formateur;
}
public function setFormateur(?string $formateur): self
{
$this->formateur = $formateur;
return $this;
}
public function getPays(): ?string
{
return $this->pays;
}
public function setPays(?string $pays): self
{
$this->pays = $pays;
return $this;
}
}