mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-30 13:34:28 +02:00
Renamed Storelocation entity to StorageLocation
This commit is contained in:
parent
09acca950d
commit
0af5a58dbe
59 changed files with 218 additions and 176 deletions
|
@ -44,7 +44,7 @@ namespace App\Services\LabelSystem\Barcodes;
|
|||
use App\Entity\Base\AbstractDBElement;
|
||||
use App\Entity\Parts\Part;
|
||||
use App\Entity\Parts\PartLot;
|
||||
use App\Entity\Parts\Storelocation;
|
||||
use App\Entity\Parts\StorageLocation;
|
||||
use InvalidArgumentException;
|
||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
|
||||
|
@ -56,13 +56,13 @@ final class BarcodeContentGenerator
|
|||
public const PREFIX_MAP = [
|
||||
Part::class => 'P',
|
||||
PartLot::class => 'L',
|
||||
Storelocation::class => 'S',
|
||||
StorageLocation::class => 'S',
|
||||
];
|
||||
|
||||
private const URL_MAP = [
|
||||
Part::class => 'part',
|
||||
PartLot::class => 'lot',
|
||||
Storelocation::class => 'location',
|
||||
StorageLocation::class => 'location',
|
||||
];
|
||||
|
||||
public function __construct(private readonly UrlGeneratorInterface $urlGenerator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue