43 lines
723 B
PHP
43 lines
723 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\DiplomeRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
#[ORM\Entity(repositoryClass: DiplomeRepository::class)]
|
|
class Diplome
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue]
|
|
#[ORM\Column]
|
|
private ?int $id = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $Libelle = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId(int $id): static
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getLibelle(): ?string
|
|
{
|
|
return $this->Libelle;
|
|
}
|
|
|
|
public function setLibelle(string $Libelle): static
|
|
{
|
|
$this->Libelle = $Libelle;
|
|
|
|
return $this;
|
|
}
|
|
}
|