mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Added a part info tab to show in which projects the part is used.
This commit is contained in:
parent
d5b1c6be0a
commit
7f38095e82
4 changed files with 64 additions and 5 deletions
|
@ -72,7 +72,7 @@ class ProjectBOMEntry extends AbstractDBElement
|
|||
|
||||
/**
|
||||
* @var Part|null The part associated with this
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Parts\Part")
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Parts\Part", inversedBy="project_bom_entries")
|
||||
* @ORM\JoinColumn(name="id_part", referencedColumnName="id", nullable=true)
|
||||
*/
|
||||
protected ?Part $part = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue