<?php
namespace App\Entity;
use App\Repository\BailleurRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: BailleurRepository::class)]
#[ORM\Table(name: 'Bailleur')]
class Bailleur
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id = null;
#[ORM\Column(length: 20)]
private ?string $libele = null;
#[ORM\Column(name: 'drapoCloture', type: 'boolean', options: ['default'=>false])]
private $drapoCloture;
public function getId(): ?int
{
return $this->id;
}
public function setLibele(string $libele): self
{
$this->libele = $libele;
return $this;
}
public function getLibele(): ?string
{
return $this->libele;
}
public function setDrapoCloture(bool $drapoCloture): self
{
$this->drapoCloture = $drapoCloture;
return $this;
}
public function getDrapoCloture(): ?bool
{
return $this->drapoCloture;
}
}