<?php
namespace App\Entity;
use App\Repository\PPaiementRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PPaiementRepository::class)]
class PPaiement
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $designation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $abreviation = null;
#[ORM\Column(nullable: true)]
private ?bool $active = true;
public function getId(): ?int
{
return $this->id;
}
public function getDesignation(): ?string
{
return $this->designation;
}
public function setDesignation(?string $designation): self
{
$this->designation = $designation;
return $this;
}
public function getAbreviation(): ?string
{
return $this->abreviation;
}
public function setAbreviation(?string $abreviation): self
{
$this->abreviation = $abreviation;
return $this;
}
public function isActive(): ?bool
{
return $this->active;
}
public function setActive(?bool $active): self
{
$this->active = $active;
return $this;
}
}