|
1234567891011121314151617181920212223242526 |
- <?php
-
- namespace App\Entity\File;
-
- use App\Repository\DocumentRepository;
- use Doctrine\ORM\Mapping as ORM;
- use Lc\CaracoleBundle\Model\File\DocumentInterface;
- use Lc\CaracoleBundle\Model\File\DocumentModel;
-
- /**
- * @ORM\Entity(repositoryClass=DocumentRepository::class)
- */
- class Document extends DocumentModel implements DocumentInterface
- {
- /**
- * @ORM\Id
- * @ORM\GeneratedValue
- * @ORM\Column(type="integer")
- */
- private $id;
-
- public function getId(): ?int
- {
- return $this->id;
- }
- }
|