mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Extracted some entity methods into contract interfaces.
This commit is contained in:
parent
594c694ee0
commit
6369ee2e61
7 changed files with 108 additions and 5 deletions
|
@ -25,6 +25,7 @@ namespace App\Entity\Attachments;
|
|||
|
||||
use App\Entity\Base\MasterAttachmentTrait;
|
||||
use App\Entity\Base\AbstractNamedDBElement;
|
||||
use App\Entity\Contracts\HasMasterAttachmentInterface;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
@ -32,7 +33,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
/**
|
||||
* @ORM\MappedSuperclass()
|
||||
*/
|
||||
abstract class AttachmentContainingDBElement extends AbstractNamedDBElement
|
||||
abstract class AttachmentContainingDBElement extends AbstractNamedDBElement implements HasMasterAttachmentInterface
|
||||
{
|
||||
use MasterAttachmentTrait;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue