remove useless field

This commit is contained in:
Simon Vieille 2021-10-20 14:33:55 +02:00
parent 0af3e9c21b
commit c6d9727966
2 changed files with 0 additions and 30 deletions

View file

@ -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;

View file

@ -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,