src/Entity/Gestiform/Admin/Tarifs/TarifVenteThemeIntra.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gestiform\Admin\Tarifs;
  3. use App\Repository\Gestiform\Admin\Tarifs\TarifVenteThemeIntraRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\Validator\Constraints as Assert;
  8. /**
  9.  * @ORM\Entity(repositoryClass=TarifVenteThemeIntraRepository::class)
  10.  */
  11. class TarifVenteThemeIntra extends TarifVente
  12. {
  13.     /**
  14.      * @ORM\OneToMany(targetEntity=TarifVenteIntraJourClient::class, mappedBy="tarifVenteThemeIntra", cascade={"persist", "remove"}, orphanRemoval=TRUE)
  15.      */
  16.     private Collection $intraJourClients;
  17.     /**
  18.      * @ORM\OneToMany(targetEntity=TarifVenteIntraJourOf::class, mappedBy="tarifVenteThemeIntra", cascade={"persist", "remove"}, orphanRemoval=TRUE)
  19.      */
  20.     private Collection $intraJourOfs;
  21.     /**
  22.      * @Assert\Regex("/\d+(\.\d+)?/")
  23.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  24.      */
  25.     private ?int $testPrerequisPersint null;
  26.     /**
  27.      * @Assert\Regex("/\d+(\.\d+)?/")
  28.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  29.      */
  30.     private ?int $testPrerequisPersext null;
  31.     /**
  32.      * @Assert\Regex("/\d+(\.\d+)?/")
  33.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  34.      */
  35.     private ?int $ingenierieJourint null;
  36.     /**
  37.      * @Assert\Regex("/\d+(\.\d+)?/")
  38.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  39.      */
  40.     private ?int $ingenierieJourext null;
  41.     /**
  42.      * @Assert\Regex("/\d+(\.\d+)?/")
  43.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  44.      */
  45.     private ?int $supportInternePersint null;
  46.     /**
  47.      * @Assert\Regex("/\d+(\.\d+)?/")
  48.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  49.      */
  50.     private ?int $supportInternePersext null;
  51.     /**
  52.      * @Assert\Regex("/\d+(\.\d+)?/")
  53.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  54.      */
  55.     private ?int $locationSalleJourint null;
  56.     /**
  57.      * @Assert\Regex("/\d+(\.\d+)?/")
  58.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  59.      */
  60.     private ?int $repasJourint null;
  61.     /**
  62.      * @Assert\Regex("/\d+(\.\d+)?/")
  63.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  64.      */
  65.     private ?int $testValidationPersint null;
  66.     /**
  67.      * @Assert\Regex("/\d+(\.\d+)?/")
  68.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  69.      */
  70.     private ?int $testValidationPersext null;
  71.     /**
  72.      * @ORM\Column(type="datetime",nullable=true)
  73.      */
  74.     private ?\DateTime $start null;
  75.     /**
  76.      * @ORM\Column(type="datetime", nullable=true)
  77.      */
  78.     private ?\DateTime $end null;
  79.     public function __construct()
  80.     {
  81.         $this->intraJourClients = new ArrayCollection();
  82.         $this->intraJourOfs = new ArrayCollection();
  83.     }
  84.     public function getTestPrerequisPersint(): ?string
  85.     {
  86.         return $this->testPrerequisPersint;
  87.     }
  88.     public function setTestPrerequisPersint(?string $testPrerequisPersint): self
  89.     {
  90.         $this->testPrerequisPersint $testPrerequisPersint;
  91.         return $this;
  92.     }
  93.     public function getTestPrerequisPersext(): ?string
  94.     {
  95.         return $this->testPrerequisPersext;
  96.     }
  97.     public function setTestPrerequisPersext(?string $testPrerequisPersext): self
  98.     {
  99.         $this->testPrerequisPersext $testPrerequisPersext;
  100.         return $this;
  101.     }
  102.     public function getIngenierieJourint(): ?string
  103.     {
  104.         return $this->ingenierieJourint;
  105.     }
  106.     public function setIngenierieJourint(?string $ingenierieJourint): self
  107.     {
  108.         $this->ingenierieJourint $ingenierieJourint;
  109.         return $this;
  110.     }
  111.     public function getIngenierieJourext(): ?string
  112.     {
  113.         return $this->ingenierieJourext;
  114.     }
  115.     public function setIngenierieJourext(?string $ingenierieJourext): self
  116.     {
  117.         $this->ingenierieJourext $ingenierieJourext;
  118.         return $this;
  119.     }
  120.     public function getSupportInternePersint(): ?string
  121.     {
  122.         return $this->supportInternePersint;
  123.     }
  124.     public function setSupportInternePersint(?string $supportInternePersint): self
  125.     {
  126.         $this->supportInternePersint $supportInternePersint;
  127.         return $this;
  128.     }
  129.     public function getSupportInternePersext(): ?string
  130.     {
  131.         return $this->supportInternePersext;
  132.     }
  133.     public function setSupportInternePersext(?string $supportInternePersext): self
  134.     {
  135.         $this->supportInternePersext $supportInternePersext;
  136.         return $this;
  137.     }
  138.     public function getLocationSalleJourint(): ?string
  139.     {
  140.         return $this->locationSalleJourint;
  141.     }
  142.     public function setLocationSalleJourint(?string $locationSalleJourint): self
  143.     {
  144.         $this->locationSalleJourint $locationSalleJourint;
  145.         return $this;
  146.     }
  147.     public function getRepasJourint(): ?string
  148.     {
  149.         return $this->repasJourint;
  150.     }
  151.     public function setRepasJourint(?string $repasJourint): self
  152.     {
  153.         $this->repasJourint $repasJourint;
  154.         return $this;
  155.     }
  156.     public function getTestValidationPersint(): ?string
  157.     {
  158.         return $this->testValidationPersint;
  159.     }
  160.     public function setTestValidationPersint(?string $testValidationPersint): self
  161.     {
  162.         $this->testValidationPersint $testValidationPersint;
  163.         return $this;
  164.     }
  165.     public function getTestValidationPersext(): ?string
  166.     {
  167.         return $this->testValidationPersext;
  168.     }
  169.     public function setTestValidationPersext(?string $testValidationPersext): self
  170.     {
  171.         $this->testValidationPersext $testValidationPersext;
  172.         return $this;
  173.     }
  174.     /**
  175.      * @return Collection<int, TarifVenteIntraJourClient>
  176.      */
  177.     public function getIntraJourClients(): Collection
  178.     {
  179.         return $this->intraJourClients;
  180.     }
  181.     public function addIntraJourClient(TarifVenteIntraJourClient $intraJourClient): self
  182.     {
  183.         if (!$this->intraJourClients->contains($intraJourClient)) {
  184.             $this->intraJourClients->add($intraJourClient);
  185.             $intraJourClient->setTarifVenteThemeIntra($this);
  186.         }
  187.         return $this;
  188.     }
  189.     public function removeIntraJourClient(TarifVenteIntraJourClient $intraJourClient): self
  190.     {
  191.         if ($this->intraJourClients->removeElement($intraJourClient)) {
  192.             // set the owning side to null (unless already changed)
  193.             if ($intraJourClient->getTarifVenteThemeIntra() === $this) {
  194.                 $intraJourClient->setTarifVenteThemeIntra(null);
  195.             }
  196.         }
  197.         return $this;
  198.     }
  199.     /**
  200.      * @return Collection<int, TarifVenteIntraJourOf>
  201.      */
  202.     public function getIntraJourOfs(): Collection
  203.     {
  204.         return $this->intraJourOfs;
  205.     }
  206.     public function addIntraJourOf(TarifVenteIntraJourOf $intraJourOf): self
  207.     {
  208.         if (!$this->intraJourOfs->contains($intraJourOf)) {
  209.             $this->intraJourOfs->add($intraJourOf);
  210.             $intraJourOf->setTarifVenteThemeIntra($this);
  211.         }
  212.         return $this;
  213.     }
  214.     public function removeIntraJourOf(TarifVenteIntraJourOf $intraJourOf): self
  215.     {
  216.         if ($this->intraJourOfs->removeElement($intraJourOf)) {
  217.             // set the owning side to null (unless already changed)
  218.             if ($intraJourOf->getTarifVenteThemeIntra() === $this) {
  219.                 $intraJourOf->setTarifVenteThemeIntra(null);
  220.             }
  221.         }
  222.         return $this;
  223.     }
  224.     public function getStart(): ?\DateTimeInterface
  225.     {
  226.         return $this->start;
  227.     }
  228.     public function setStart(?\DateTimeInterface $start): self
  229.     {
  230.         $this->start $start;
  231.         return $this;
  232.     }
  233.     public function getEnd(): ?\DateTimeInterface
  234.     {
  235.         return $this->end;
  236.     }
  237.     public function setEnd(?\DateTimeInterface $end): self
  238.     {
  239.         $this->end $end;
  240.         return $this;
  241.     }
  242.     
  243. }