belongs to many external catalogs & catalogs
This commit is contained in:
@@ -9,14 +9,12 @@ use Cake\ORM\Entity;
|
||||
* ExternalProductCatalog Entity
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $product_catalog_id
|
||||
* @property string $base_url
|
||||
* @property string $api_url
|
||||
* @property \Cake\I18n\DateTime $created
|
||||
* @property \Cake\I18n\DateTime|null $deleted
|
||||
* @property bool $enabled
|
||||
*
|
||||
* @property \CakeProducts\Model\Entity\ProductCatalog $product_catalog
|
||||
* @property \CakeProducts\Model\Entity\ProductCatalog[] $product_catalogs
|
||||
*/
|
||||
class ExternalProductCatalog extends Entity
|
||||
{
|
||||
@@ -30,12 +28,11 @@ class ExternalProductCatalog extends Entity
|
||||
* @var array<string, bool>
|
||||
*/
|
||||
protected array $_accessible = [
|
||||
'product_catalog_id' => true,
|
||||
'base_url' => true,
|
||||
'api_url' => true,
|
||||
'created' => true,
|
||||
'deleted' => true,
|
||||
'enabled' => true,
|
||||
'product_catalog' => true,
|
||||
'product_catalogs' => true,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@ use Cake\ORM\Entity;
|
||||
* @property string|null $catalog_description
|
||||
* @property bool $enabled
|
||||
*
|
||||
* @property \CakeProducts\Model\Entity\ProductCategory[] $product_categories
|
||||
* @property \CakeProducts\Model\Entity\ExternalProductCatalog[] $external_product_catalogs
|
||||
* @property ProductCategory[] $product_categories
|
||||
* @property ExternalProductCatalog[] $external_product_catalogs
|
||||
*/
|
||||
class ProductCatalog extends Entity
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user