src/Entity/Gos/ProductVariantEventInfo.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\Gos\ProductVariantEventInfoRepository")
  6.  */
  7. class ProductVariantEventInfo
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private ?int $id;
  15.     /**
  16.      *
  17.      * @ORM\ManyToOne(targetEntity=ProductVariant::class)
  18.      */
  19.     private ?ProductVariant $productVariant;
  20.     /**
  21.      * @ORM\Column(type="datetime", nullable=true)
  22.      */
  23.     private ?\DateTimeInterface $startDate;
  24.     /**
  25.      * @ORM\Column(type="datetime", nullable=true)
  26.      */
  27.     private ?\DateTimeInterface $endDate;
  28.     /** @ORM\Column(type="integer", nullable=true) */
  29.     private ?int $minParticipants;
  30.     /** @ORM\Column(type="integer", nullable=true) */
  31.     private ?int $maxParticipants;
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getProductVariant(): ?ProductVariant
  37.     {
  38.         return $this->productVariant;
  39.     }
  40.     public function setProductVariant(?ProductVariant $productVariant): self
  41.     {
  42.         $this->productVariant $productVariant;
  43.         return $this;
  44.     }
  45.     public function getStartDate(): ?\DateTimeInterface
  46.     {
  47.         return $this->startDate;
  48.     }
  49.     public function setStartDate($startDate): self
  50.     {
  51.         $this->startDate $startDate;
  52.         return $this;
  53.     }
  54.     public function getEndDate(): ?\DateTimeInterface
  55.     {
  56.         return $this->endDate;
  57.     }
  58.     public function setEndDate($endDate): self
  59.     {
  60.         $this->endDate $endDate;
  61.         return $this;
  62.     }
  63.     public function getMinParticipants(): ?int
  64.     {
  65.         return $this->minParticipants;
  66.     }
  67.     public function setMinParticipants(?int $minParticipants): self
  68.     {
  69.         $this->minParticipants $minParticipants;
  70.         return $this;
  71.     }
  72.     public function getMaxParticipants(): ?int
  73.     {
  74.         return $this->maxParticipants;
  75.     }
  76.     public function setMaxParticipants(?int $maxParticipants): self
  77.     {
  78.         $this->maxParticipants $maxParticipants;
  79.         return $this;
  80.     }
  81. }