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.

34 lines
710B

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Lc\SovBundle\IModel\Cms\FileInterface;
  5. use Lc\SovBundle\Repository\Cms\FileRepository;
  6. use Lc\SovBundle\Model\Cms\File as LcFileModel;
  7. use Gedmo\Mapping\Annotation as Gedmo;
  8. use Lc\SovBundle\Entity\Translation\EntityTranslation;
  9. /**
  10. * @ORM\Entity(repositoryClass=FileRepository::class)
  11. * @Gedmo\TranslationEntity(class=EntityTranslation::class)
  12. */
  13. class File extends LcFileModel implements FileInterface
  14. {
  15. /**
  16. * @ORM\Id
  17. * @ORM\GeneratedValue
  18. * @ORM\Column(type="integer")
  19. */
  20. private $id;
  21. public function getId(): ?int
  22. {
  23. return $this->id;
  24. }
  25. }