|
- <?php
-
- namespace Lc\CaracoleBundle\Model\PointSale;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\SovBundle\Doctrine\Pattern\AbstractLightEntity;
-
- /**
- * @ORM\MappedSuperclass()
- */
- abstract class PointSaleDayInfoModel extends AbstractLightEntity
- {
- /**
- * @ORM\Column(type="boolean")
- */
- protected $active;
-
- /**
- * @ORM\Column(type="smallint")
- */
- protected $day;
-
- /**
- * @ORM\Column(type="text", nullable=true)
- */
- protected $description;
-
- /**
- * @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\PointSale\PointSaleInterface", inversedBy="pointSaleDayInfos")
- * @ORM\JoinColumn(nullable=false)
- */
- protected $pointSale;
-
- public function getActive(): ?bool
- {
- return $this->active;
- }
-
- public function setActive(bool $active): self
- {
- $this->active = $active;
-
- return $this;
- }
-
- public function getDay(): ?int
- {
- return $this->day;
- }
-
- public function setDay(int $day): self
- {
- $this->day = $day;
-
- return $this;
- }
-
- public function getDescription(): ?string
- {
- return $this->description;
- }
-
- public function setDescription(?string $description): self
- {
- $this->description = $description;
-
- return $this;
- }
-
- public function getPointSale(): ?PointSaleInterface
- {
- return $this->pointSale;
- }
-
- public function setPointSale(?PointSaleInterface $pointSale): self
- {
- $this->pointSale = $pointSale;
-
- return $this;
- }
- }
|