|
|
|
@ -7,12 +7,14 @@ use Chamilo\MediaBundle\Entity\Media; |
|
|
|
|
use Doctrine\ORM\Mapping as ORM; |
|
|
|
|
use Gedmo\Timestampable\Traits\TimestampableEntity; |
|
|
|
|
use Symfony\Component\HttpFoundation\File\File; |
|
|
|
|
use Vich\UploaderBundle\Mapping\Annotation as Vich; |
|
|
|
|
use Symfony\Component\Validator\Constraints as Assert; |
|
|
|
|
use Vich\UploaderBundle\Mapping\Annotation as Vich; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @ORM\Entity |
|
|
|
|
* |
|
|
|
|
* @Vich\Uploadable |
|
|
|
|
* |
|
|
|
|
* @ORM\Table(name="resource_file") |
|
|
|
|
*/ |
|
|
|
|
class ResourceFile |
|
|
|
|