diff --git a/src/Entity/StlMesh.php b/src/Entity/StlMesh.php index 83a10d4..ee6e2ce 100644 --- a/src/Entity/StlMesh.php +++ b/src/Entity/StlMesh.php @@ -33,11 +33,6 @@ class StlMesh implements EntityInterface */ private $description; - /** - * @ORM\Column(type="string", length=255, nullable=true) - */ - private $file; - /** * @ORM\Column(type="array", nullable=true) */ @@ -89,18 +84,6 @@ class StlMesh implements EntityInterface return $this; } - public function getFile(): ?string - { - return $this->file; - } - - public function setFile(?string $file): self - { - $this->file = $file; - - return $this; - } - public function getPreview(): ?string { return $this->preview; diff --git a/src/Form/StlMeshType.php b/src/Form/StlMeshType.php index ad72fd8..629373c 100644 --- a/src/Form/StlMeshType.php +++ b/src/Form/StlMeshType.php @@ -45,19 +45,6 @@ class StlMeshType extends AbstractType ] ); - $builder->add( - 'file', - FilePickerType::class, - [ - 'label' => 'Fichier STL', - 'required' => false, - 'attr' => [ - ], - 'constraints' => [ - ], - ] - ); - $builder->add( 'files', MurphCollectionType::class,