remove useless field
This commit is contained in:
parent
0af3e9c21b
commit
c6d9727966
|
@ -33,11 +33,6 @@ class StlMesh implements EntityInterface
|
||||||
*/
|
*/
|
||||||
private $description;
|
private $description;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ORM\Column(type="string", length=255, nullable=true)
|
|
||||||
*/
|
|
||||||
private $file;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="array", nullable=true)
|
* @ORM\Column(type="array", nullable=true)
|
||||||
*/
|
*/
|
||||||
|
@ -89,18 +84,6 @@ class StlMesh implements EntityInterface
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFile(): ?string
|
|
||||||
{
|
|
||||||
return $this->file;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setFile(?string $file): self
|
|
||||||
{
|
|
||||||
$this->file = $file;
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getPreview(): ?string
|
public function getPreview(): ?string
|
||||||
{
|
{
|
||||||
return $this->preview;
|
return $this->preview;
|
||||||
|
|
|
@ -45,19 +45,6 @@ class StlMeshType extends AbstractType
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
$builder->add(
|
|
||||||
'file',
|
|
||||||
FilePickerType::class,
|
|
||||||
[
|
|
||||||
'label' => 'Fichier STL',
|
|
||||||
'required' => false,
|
|
||||||
'attr' => [
|
|
||||||
],
|
|
||||||
'constraints' => [
|
|
||||||
],
|
|
||||||
]
|
|
||||||
);
|
|
||||||
|
|
||||||
$builder->add(
|
$builder->add(
|
||||||
'files',
|
'files',
|
||||||
MurphCollectionType::class,
|
MurphCollectionType::class,
|
||||||
|
|
Loading…
Reference in a new issue