mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-02 06:24:34 +02:00
Introduced empty PartRepository for later use.
This commit is contained in:
parent
e9325bfb89
commit
7dbdb959b8
3 changed files with 22 additions and 4 deletions
|
@ -15,7 +15,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
* Class Part
|
||||
* @package App\Entity
|
||||
*
|
||||
* @ORM\Entity()
|
||||
* @ORM\Entity(repositoryClass="App\Repository\PartRepository")
|
||||
* @ORM\Table("parts")
|
||||
*/
|
||||
class Part extends AttachmentContainingDBElement
|
||||
|
@ -53,7 +53,7 @@ class Part extends AttachmentContainingDBElement
|
|||
/**
|
||||
* @var Attachment
|
||||
* @ORM\ManyToOne(targetEntity="Attachment")
|
||||
* @ORM\JoinColumn(name="id_master_picture_attachment", referencedColumnName="id")
|
||||
* @ORM\JoinColumn(name="id_master_picture_attachement", referencedColumnName="id")
|
||||
*/
|
||||
protected $master_picture_attachment;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue