42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
<?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_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_variant_id' => true,
|
|
'product_category_variant_option_id' => true,
|
|
|
|
// entities
|
|
'product_skus' => true,
|
|
'product_variant' => true,
|
|
'product_category_variant_option' => true,
|
|
];
|
|
}
|