foriegn key model/entity + remove logging on add invalid

This commit is contained in:
2025-11-21 21:59:31 -08:00
parent 3360ef8f7b
commit 4bdb411c38
3 changed files with 44 additions and 27 deletions

View File

@@ -20,10 +20,12 @@ use Cake\ORM\Entity;
* @property string|null $phone_number
* @property string|null $email
* @property string|null $notes
* @property string|null $foreign_key
* @property string|null $model
*
* @property \CakeAddresses\Model\Entity\City $city
* @property \CakeAddresses\Model\Entity\State $state
* @property \CakeAddresses\Model\Entity\Country $country
* @property City $city
* @property State $state
* @property Country $country
*/
class Address extends Entity
{
@@ -51,5 +53,7 @@ class Address extends Entity
'phone_number' => true,
'email' => true,
'notes' => true,
'foreign_key' => true,
'model' => true,
];
}