mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-12 22:19:31 +00:00
Added ability to modify the EDA data via the Part-DB API
This commit is contained in:
parent
9994dbd9db
commit
f4b4f14a67
7 changed files with 25 additions and 3 deletions
|
|
@ -26,12 +26,14 @@ namespace App\Entity\EDA;
|
|||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping\Column;
|
||||
use Doctrine\ORM\Mapping\Embeddable;
|
||||
use Symfony\Component\Serializer\Annotation\Groups;
|
||||
|
||||
#[Embeddable]
|
||||
class EDAFootprintInfo
|
||||
{
|
||||
/** @var string|null The KiCAD footprint, which should be used (the path to the library) */
|
||||
#[Column(type: Types::STRING, nullable: true)]
|
||||
#[Groups(['full', 'footprint:read', 'footprint:write'])]
|
||||
private ?string $kicad_footprint = null;
|
||||
|
||||
public function getKicadFootprint(): ?string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue