You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
527B

  1. <?php
  2. namespace App\Entity\File;
  3. use App\Repository\DocumentRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Lc\CaracoleBundle\Model\File\DocumentInterface;
  6. use Lc\CaracoleBundle\Model\File\DocumentModel;
  7. /**
  8. * @ORM\Entity(repositoryClass=DocumentRepository::class)
  9. */
  10. class Document extends DocumentModel implements DocumentInterface
  11. {
  12. /**
  13. * @ORM\Id
  14. * @ORM\GeneratedValue
  15. * @ORM\Column(type="integer")
  16. */
  17. private $id;
  18. public function getId(): ?int
  19. {
  20. return $this->id;
  21. }
  22. }