|
1234567891011121314151617181920212223242526272829 |
- <?php
-
- namespace App\Entity;
-
- use App\IModel\ImageInterface;
- use App\Model\AbstractDocumentEntity;
- use App\Model\ImageTrait;
- use App\Repository\PageRepository;
- use Doctrine\ORM\Mapping as ORM;
-
- /**
- * @ORM\Entity(repositoryClass=PageRepository::class)
- */
- class Page extends AbstractDocumentEntity implements ImageInterface
- {
- use ImageTrait;
-
- /**
- * @ORM\Id
- * @ORM\GeneratedValue
- * @ORM\Column(type="integer")
- */
- private $id;
-
- public function getId(): ?int
- {
- return $this->id;
- }
- }
|