mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-12 20:49:35 +00:00
Allow to import category, footprint and manufacturer by giving a string in the CSV file
This commit is contained in:
parent
85ae862381
commit
61e2dde400
12 changed files with 173 additions and 35 deletions
|
|
@ -65,7 +65,7 @@ trait BasicPropertyTrait
|
|||
* @ORM\JoinColumn(name="id_category", referencedColumnName="id", nullable=false)
|
||||
* @Selectable()
|
||||
* @Assert\NotNull(message="validator.select_valid_category")
|
||||
* @Groups({"simple", "extended", "full"})
|
||||
* @Groups({"simple", "extended", "full", "import"})
|
||||
*/
|
||||
protected ?Category $category = null;
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ trait BasicPropertyTrait
|
|||
* @ORM\ManyToOne(targetEntity="Footprint")
|
||||
* @ORM\JoinColumn(name="id_footprint", referencedColumnName="id")
|
||||
* @Selectable()
|
||||
* @Groups({"simple", "extended", "full"})
|
||||
* @Groups({"simple", "extended", "full", "import"})
|
||||
*/
|
||||
protected ?Footprint $footprint = null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue