<?php
namespace App\Entity;
use App\Repository\CentreCoutRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CentreCoutRepository::class)]
#[ORM\Table(name: 'CentreCout')]
class CentreCout
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id = null;
#[ORM\Column(length: 30)]
private ?string $libele = null;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $code = null;
public function getId(): ?int
{
return $this->id;
}
public function getLibele(): ?string
{
return $this->libele;
}
public function setLibele(string $libele): self
{
$this->libele = $libele;
return $this;
}
public function getCode(): ?int
{
return $this->code;
}
public function setCode(?int $code): self
{
$this->code = $code;
return $this;
}
}