forked from mirror/Part-DB.Part-DB-server
Added an simple import system for attachment types.
This commit is contained in:
parent
b827737caa
commit
68aa750e00
7 changed files with 297 additions and 6 deletions
|
@ -43,7 +43,7 @@ class AttachmentType extends StructuralDBElement
|
|||
protected $attachments;
|
||||
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="AttachmentType", mappedBy="parent")
|
||||
* @ORM\OneToMany(targetEntity="AttachmentType", mappedBy="parent", cascade={"persist"})
|
||||
*/
|
||||
protected $children;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue