src/Infrastructure/Doctrine/Entity/DoctrineIzOrderParameter.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Infrastructure\Doctrine\Entity;
  4. use App\Domain\Common\Entity\IzOrderParameter;
  5. use App\Infrastructure\Doctrine\Entity\Traits\IdableTrait;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass="App\Infrastructure\Doctrine\Repository\DoctrineIzOrderParameterRepository")
  9.  */
  10. class DoctrineIzOrderParameter implements IzOrderParameter
  11. {
  12.     use IdableTrait;
  13.     /**
  14.      * @ORM\Column(type="string", length=3)
  15.      */
  16.     private string $tableCode '';
  17.     /**
  18.      * @ORM\Column(type="string", length=191)
  19.      */
  20.     private string $name '';
  21.     /**
  22.      * @ORM\Column(type="string", length=191, nullable=true)
  23.      */
  24.     private ?string $value null;
  25.     public function getTableCode(): string
  26.     {
  27.         return $this->tableCode;
  28.     }
  29.     public function setTableCode(string $tableCode): void
  30.     {
  31.         $this->tableCode $tableCode;
  32.     }
  33.     public function getName(): string
  34.     {
  35.         return $this->name;
  36.     }
  37.     public function setName(string $name): void
  38.     {
  39.         $this->name $name;
  40.     }
  41.     public function getValue(): ?string
  42.     {
  43.         return $this->value;
  44.     }
  45.     public function setValue(?string $value): void
  46.     {
  47.         $this->value $value;
  48.     }
  49. }