mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-08-03 15:11:40 +00:00
parent
ce3c8f3056
commit
9efa44ada0
2 changed files with 3 additions and 3 deletions
|
|
@ -218,7 +218,7 @@ class Category extends AbstractPartsContainingDBElement
|
||||||
|
|
||||||
#[Assert\Valid]
|
#[Assert\Valid]
|
||||||
#[ORM\Embedded(class: EDACategoryInfo::class)]
|
#[ORM\Embedded(class: EDACategoryInfo::class)]
|
||||||
#[Groups(['full', 'category:read', 'category:write'])]
|
#[Groups(['full', 'category:read', 'category:write', 'import'])]
|
||||||
protected EDACategoryInfo $eda_info;
|
protected EDACategoryInfo $eda_info;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ class Footprint extends AbstractPartsContainingDBElement
|
||||||
#[ORM\OrderBy(['name' => Criteria::ASC])]
|
#[ORM\OrderBy(['name' => Criteria::ASC])]
|
||||||
protected Collection $children;
|
protected Collection $children;
|
||||||
|
|
||||||
#[Groups(['footprint:read', 'footprint:write'])]
|
#[Groups(['footprint:read', 'footprint:write', "import"])]
|
||||||
protected string $comment = '';
|
protected string $comment = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -162,7 +162,7 @@ class Footprint extends AbstractPartsContainingDBElement
|
||||||
|
|
||||||
#[Assert\Valid]
|
#[Assert\Valid]
|
||||||
#[ORM\Embedded(class: EDAFootprintInfo::class)]
|
#[ORM\Embedded(class: EDAFootprintInfo::class)]
|
||||||
#[Groups(['full', 'footprint:read', 'footprint:write'])]
|
#[Groups(['full', 'footprint:read', 'footprint:write', "import"])]
|
||||||
protected EDAFootprintInfo $eda_info;
|
protected EDAFootprintInfo $eda_info;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue