51 lines
934 B
PHP
51 lines
934 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\StatutTablesRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
#[ORM\Entity(repositoryClass: StatutTablesRepository::class)]
|
|
class StatutTables
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue]
|
|
#[ORM\Column]
|
|
private ?int $id = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $Libellé = null;
|
|
|
|
#[ORM\ManyToOne(inversedBy: 'statutTables')]
|
|
private ?Tables $tables = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getLibellé(): ?string
|
|
{
|
|
return $this->Libellé;
|
|
}
|
|
|
|
public function setLibellé(string $Libellé): static
|
|
{
|
|
$this->Libellé = $Libellé;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTables(): ?Tables
|
|
{
|
|
return $this->tables;
|
|
}
|
|
|
|
public function setTable(?Tables $tables): static
|
|
{
|
|
$this->tables = $tables;
|
|
|
|
return $this;
|
|
}
|
|
}
|