|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?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;
- }
- }
|