first standalone plugin commit

This commit is contained in:
2025-11-18 00:43:34 -08:00
commit 5dc7aa87cd
86 changed files with 86844 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
declare(strict_types=1);
namespace CakeAddresses\Model\Entity;
use Cake\ORM\Entity;
/**
* Subregion Entity
*
* @property int $id
* @property string $name
* @property string|null $translations
* @property int $region_id
* @property \Cake\I18n\DateTime|null $created_at
* @property \Cake\I18n\DateTime $updated_at
* @property bool $flag
* @property string|null $wikiDataId
*
* @property \CakeAddresses\Model\Entity\Region $region
* @property \CakeAddresses\Model\Entity\Country[] $countries
*/
class Subregion 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 = [
'name' => true,
'translations' => true,
'region_id' => true,
'created_at' => true,
'updated_at' => true,
'flag' => true,
'wikiDataId' => true,
'region' => true,
'countries' => true,
];
}