src/Infrastructure/Doctrine/Entity/DoctrineIzOrderPrice.php line 19

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Infrastructure\Doctrine\Entity;
  4. use App\Domain\Common\Entity\IzOrderPrice;
  5. use App\Domain\Common\Entity\IzOrderPriceParameter;
  6. use App\Infrastructure\Doctrine\Entity\Traits\DeletableTrait;
  7. use App\Infrastructure\Doctrine\Entity\Traits\IdableTrait;
  8. use Doctrine\ORM\Mapping as ORM;
  9. use Gedmo\Mapping\Annotation as Gedmo;
  10. /**
  11.  * @ORM\Entity(repositoryClass="App\Infrastructure\Doctrine\Repository\DoctrineIzOrderPriceRepository")
  12.  *
  13.  * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false, hardDelete=false)
  14.  */
  15. class DoctrineIzOrderPrice implements IzOrderPrice
  16. {
  17.     use DeletableTrait;
  18.     use IdableTrait;
  19.     /**
  20.      * @ORM\ManyToOne(targetEntity="App\Infrastructure\Doctrine\Entity\DoctrineIzOrderPriceParameter")
  21.      * @ORM\JoinColumn(name="code_tpm", referencedColumnName="code_tpm", nullable=false)
  22.      */
  23.     private ?IzOrderPriceParameter $codeTpm null;
  24.     /**
  25.      * @ORM\Column(type="string", length=191, nullable=true)
  26.      */
  27.     private ?string $valeurCritere1 null;
  28.     /**
  29.      * @ORM\Column(type="string", length=191, nullable=true)
  30.      */
  31.     private ?string $valeurCritere2 null;
  32.     /**
  33.      * @ORM\Column(type="string", length=191, nullable=true)
  34.      */
  35.     private ?string $valeurCritere3 null;
  36.     /**
  37.      * @ORM\Column(type="string", length=191, nullable=true)
  38.      */
  39.     private ?string $valeurCritere4 null;
  40.     /**
  41.      * @ORM\Column(type="string", length=191, nullable=true)
  42.      */
  43.     private ?string $valeurCritere5 null;
  44.     /**
  45.      * @ORM\Column(type="integer", nullable=true)
  46.      */
  47.     private ?int $quantiteMin null;
  48.     /**
  49.      * @ORM\Column(type="integer", nullable=true)
  50.      */
  51.     private ?int $quantiteMax null;
  52.     /**
  53.      * @ORM\Column(type="string", length=191, nullable=true)
  54.      */
  55.     private ?string $prix null;
  56.     /**
  57.      * @ORM\Column(type="string", length=191, nullable=true)
  58.      */
  59.     private ?string $remise1 null;
  60.     /**
  61.      * @ORM\Column(type="string", length=191, nullable=true)
  62.      */
  63.     private ?string $remise2 null;
  64.     /**
  65.      * @ORM\Column(type="string", length=191, nullable=true)
  66.      */
  67.     private ?string $remise3 null;
  68.     public function getCodeTpm(): ?IzOrderPriceParameter
  69.     {
  70.         return $this->codeTpm;
  71.     }
  72.     public function setCodeTpm(?IzOrderPriceParameter $codeTpm): void
  73.     {
  74.         $this->codeTpm $codeTpm;
  75.     }
  76.     public function getValeurCritere1(): ?string
  77.     {
  78.         return $this->valeurCritere1;
  79.     }
  80.     public function setValeurCritere1(?string $valeurCritere1): void
  81.     {
  82.         $this->valeurCritere1 $valeurCritere1;
  83.     }
  84.     public function getValeurCritere2(): ?string
  85.     {
  86.         return $this->valeurCritere2;
  87.     }
  88.     public function setValeurCritere2(?string $valeurCritere2): void
  89.     {
  90.         $this->valeurCritere2 $valeurCritere2;
  91.     }
  92.     public function getValeurCritere3(): ?string
  93.     {
  94.         return $this->valeurCritere3;
  95.     }
  96.     public function setValeurCritere3(?string $valeurCritere3): void
  97.     {
  98.         $this->valeurCritere3 $valeurCritere3;
  99.     }
  100.     public function getValeurCritere4(): ?string
  101.     {
  102.         return $this->valeurCritere4;
  103.     }
  104.     public function setValeurCritere4(?string $valeurCritere4): void
  105.     {
  106.         $this->valeurCritere4 $valeurCritere4;
  107.     }
  108.     public function getValeurCritere5(): ?string
  109.     {
  110.         return $this->valeurCritere5;
  111.     }
  112.     public function setValeurCritere5(?string $valeurCritere5): void
  113.     {
  114.         $this->valeurCritere5 $valeurCritere5;
  115.     }
  116.     public function getQuantiteMin(): ?int
  117.     {
  118.         return $this->quantiteMin;
  119.     }
  120.     public function setQuantiteMin(?int $quantiteMin): void
  121.     {
  122.         $this->quantiteMin $quantiteMin;
  123.     }
  124.     public function getQuantiteMax(): ?int
  125.     {
  126.         return $this->quantiteMax;
  127.     }
  128.     public function setQuantiteMax(?int $quantiteMax): void
  129.     {
  130.         $this->quantiteMax $quantiteMax;
  131.     }
  132.     public function getPrix(): ?string
  133.     {
  134.         return $this->prix;
  135.     }
  136.     public function setPrix(?string $prix): void
  137.     {
  138.         $this->prix $prix;
  139.     }
  140.     public function getRemise1(): ?string
  141.     {
  142.         return $this->remise1;
  143.     }
  144.     public function setRemise1(?string $remise1): void
  145.     {
  146.         $this->remise1 $remise1;
  147.     }
  148.     public function getRemise2(): ?string
  149.     {
  150.         return $this->remise2;
  151.     }
  152.     public function setRemise2(?string $remise2): void
  153.     {
  154.         $this->remise2 $remise2;
  155.     }
  156.     public function getRemise3(): ?string
  157.     {
  158.         return $this->remise3;
  159.     }
  160.     public function setRemise3(?string $remise3): void
  161.     {
  162.         $this->remise3 $remise3;
  163.     }
  164. }