product id back on product category variants table...dumb

This commit is contained in:
2025-09-22 21:51:52 -07:00
parent 2d405d542b
commit 5b38de39fc
4 changed files with 22 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ use Cake\ORM\Entity;
* @property string $id
* @property string $name
* @property string|null $product_category_id
* @property string|null $product_id
* @property bool $enabled
*
* @property ProductCategory|EntityInterface $product_category
@@ -31,10 +32,12 @@ class ProductCategoryVariant extends Entity
protected array $_accessible = [
'name' => true,
'product_category_id' => true,
'product_id' => true,
'enabled' => true,
// entities
'product_category' => false,
'product' => false,
'product_category_variant_options' => true,
];
}