associations saving many to many workign now catalogs
This commit is contained in:
@@ -3,6 +3,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace CakeProducts\Model\Entity;
|
||||
|
||||
use Cake\I18n\DateTime;
|
||||
use Cake\ORM\Entity;
|
||||
|
||||
/**
|
||||
@@ -11,10 +12,11 @@ use Cake\ORM\Entity;
|
||||
* @property int $id
|
||||
* @property string $base_url
|
||||
* @property string $api_url
|
||||
* @property \Cake\I18n\DateTime $created
|
||||
* @property \Cake\I18n\DateTime|null $deleted
|
||||
* @property DateTime $created
|
||||
* @property DateTime|null $deleted
|
||||
*
|
||||
* @property \CakeProducts\Model\Entity\ProductCatalog[] $product_catalogs
|
||||
* @property ProductCatalog[] $product_catalogs
|
||||
* @property ExternalProductCatalogsProductCatalog[] $external_product_catalogs_product_catalogs
|
||||
*/
|
||||
class ExternalProductCatalog extends Entity
|
||||
{
|
||||
@@ -33,6 +35,6 @@ class ExternalProductCatalog extends Entity
|
||||
'created' => true,
|
||||
'deleted' => true,
|
||||
'enabled' => true,
|
||||
'product_catalogs' => true,
|
||||
'external_product_catalogs_product_catalogs' => true,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user