Files
cake-products/src/Model/Entity/ProductSkuVariantValue.php

40 lines
1.2 KiB
PHP
Raw Normal View History

2025-09-10 22:06:12 -07:00
<?php
declare(strict_types=1);
namespace CakeProducts\Model\Entity;
use Cake\ORM\Entity;
/**
* ProductSkuVariantValue Entity
*
* @property string $id
* @property string $product_sku_id
* @property string $product_category_variant_id
* @property string $product_category_variant_option_id
*
* @property ProductSku $product_sku
* @property ProductCategoryVariant $product_category_variant
* @property ProductCategoryVariantOption $product_category_variant_option
*/
class ProductSkuVariantValue extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
*
* Note that when '*' is set to true, this allows all unspecified fields to
* be mass assigned. For security purposes, it is advised to set '*' to false
* (or remove it), and explicitly make individual fields accessible as needed.
*
* @var array<string, bool>
*/
protected array $_accessible = [
'product_sku_id' => true,
'product_category_variant_id' => true,
'product_category_variant_option_id' => true,
'product_skus' => true,
'product_category_variant' => true,
'product_category_variant_option' => true,
];
}