src/Infrastructure/Doctrine/Entity/DoctrineIzOrderClientPrice.php line 13

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Infrastructure\Doctrine\Entity;
  4. use App\Domain\Common\Entity\IzOrderClientPrice;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass="App\Infrastructure\Doctrine\Repository\DoctrineIzOrderClientPriceRepository")
  8.  */
  9. class DoctrineIzOrderClientPrice implements IzOrderClientPrice
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\Column(type="string", length=16, unique=true)
  14.      */
  15.     private string $codeTgp '';
  16.     /**
  17.      * @ORM\Column(type="string", length=191, nullable=true)
  18.      */
  19.     private ?string $libelle null;
  20.     public function getCodeTgp(): string
  21.     {
  22.         return $this->codeTgp;
  23.     }
  24.     public function setCodeTgp(string $codeTgp): void
  25.     {
  26.         $this->codeTgp $codeTgp;
  27.     }
  28.     public function getLibelle(): ?string
  29.     {
  30.         return $this->libelle;
  31.     }
  32.     public function setLibelle(?string $libelle): void
  33.     {
  34.         $this->libelle $libelle;
  35.     }
  36. }