- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
- use Gedmo\Mapping\Annotation as Gedmo;
- use Lc\ShopBundle\Model\AbstractEntity;
-
-
- abstract class AbstractDocumentEntity extends AbstractEntity
- {
-
-
- protected $title;
-
-
-
- protected $slug;
-
-
-
- protected $description;
-
-
-
- protected $image;
-
-
-
- protected $status;
-
-
-
- protected $position;
-
-
- public function getTitle(): ?string
- {
- return $this->title;
- }
-
- public function setTitle(string $title): self
- {
- $this->title = $title;
-
- return $this;
- }
-
- public function getSlug(): ?string
- {
- return $this->slug;
- }
-
- public function setSlug(string $slug): self
- {
- $this->slug = $slug;
-
- return $this;
- }
-
- public function getDescription(): ?string
- {
- return $this->description;
- }
-
- public function setDescription(?string $description): self
- {
- $this->description = $description;
-
- return $this;
- }
-
- public function getImage(): ?string
- {
- return $this->image;
- }
-
- public function setImage(?string $image): self
- {
- $this->image = $image;
-
- return $this;
- }
-
- public function getStatus(): ?float
- {
- return $this->status;
- }
-
- public function setStatus(float $status): self
- {
- $this->status = $status;
-
- return $this;
- }
-
- public function getPosition(): ?int
- {
- return $this->position;
- }
-
- public function setPosition(int $position): self
- {
- $this->position = $position;
-
- return $this;
- }
- }
|