<?php
namespace App\Entity;
use App\Repository\ConfigRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ConfigRepository::class)]
class Config
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $nom;
#[ORM\Column(type: 'float', nullable: true)]
private $val;
#[ORM\Column(type: 'integer')]
private $num;
#[ORM\Column(type: 'integer')]
private $statut;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getVal(): ?float
{
return $this->val;
}
public function setVal(?float $val): self
{
$this->val = $val;
return $this;
}
public function getNum(): ?int
{
return $this->num;
}
public function setNum(int $num): self
{
$this->num = $num;
return $this;
}
public function getStatut(): ?int
{
return $this->statut;
}
public function setStatut(int $statut): self
{
$this->statut = $statut;
return $this;
}
}