12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace Uploadable\Fixture\Entity;
- use Gedmo\Mapping\Annotation as Gedmo;
- use Doctrine\ORM\Mapping as ORM;
- use Doctrine\Common\Collections\ArrayCollection;
- /**
- * @ORM\Entity
- * @Gedmo\Uploadable
- */
- class FileWithoutPath
- {
- /**
- * @ORM\Column(name="id", type="integer")
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @ORM\Column(name="path", type="string", nullable=true)
- * @Gedmo\UploadableFilePath
- */
- private $filePath;
- public function getId()
- {
- return $this->id;
- }
- public function setFilePath($filePath)
- {
- $this->filePath = $filePath;
- }
- public function getFilePath()
- {
- return $this->filePath;
- }
- }
|