diff --git a/src/Model/Entity/Brood.php b/src/Model/Entity/Brood.php new file mode 100644 index 0000000..84b8c10 --- /dev/null +++ b/src/Model/Entity/Brood.php @@ -0,0 +1,19 @@ + true, + 'id' => false, + 'uuid' => false, + ]; + + protected $_accessibleOnNew = [ + 'uuid' => true, + ]; +} diff --git a/src/Model/Entity/Instance.php b/src/Model/Entity/Instance.php index 247e847..a6d1380 100644 --- a/src/Model/Entity/Instance.php +++ b/src/Model/Entity/Instance.php @@ -7,13 +7,5 @@ use Cake\ORM\Entity; class Instance extends AppModel { - protected $_accessible = [ - '*' => true, - 'id' => false, - 'uuid' => false, - ]; - protected $_accessibleOnNew = [ - 'uuid' => true, - ]; }