Skip to content

Commit

Permalink
Merge pull request #23 from Morning-Train/hotfix/product
Browse files Browse the repository at this point in the history
Hotfix/product
  • Loading branch information
mschadegg authored Mar 19, 2024
2 parents e18c0d6 + cc69c3f commit 300508e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Morningtrain\Economic\Attributes\Resources\GetCollection;
use Morningtrain\Economic\Attributes\Resources\GetSingle;
use Morningtrain\Economic\Attributes\Resources\Properties\Filterable;
use Morningtrain\Economic\Attributes\Resources\Properties\PrimaryKey;
use Morningtrain\Economic\Attributes\Resources\Properties\Sortable;
use Morningtrain\Economic\Attributes\Resources\Update;
use Morningtrain\Economic\Traits\Resources\Creatable;
Expand Down Expand Up @@ -54,6 +55,7 @@ class Product extends Resource

public ?ProductGroup $productGroup;

#[PrimaryKey]
public ?string $productNumber;

#[Filterable]
Expand Down

0 comments on commit 300508e

Please sign in to comment.