mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
git-subtree-dir: community_server git-subtree-mainline: ff11f6efe35bba180260fe84077bcd94298895c1 git-subtree-split: b6544b9e69fb85d4da100934675323c3e8c8ef67
44 lines
1.3 KiB
PHP
44 lines
1.3 KiB
PHP
<?php
|
|
namespace App\Model\Entity;
|
|
|
|
use Cake\ORM\Entity;
|
|
|
|
/**
|
|
* StateGroup Entity
|
|
*
|
|
* @property int $id
|
|
* @property string|resource $index_id
|
|
* @property string $name
|
|
* @property string|resource $root_public_key
|
|
* @property int $user_count
|
|
*
|
|
* @property \App\Model\Entity\Index $index
|
|
* @property \App\Model\Entity\StateGroupAddress[] $state_group_addresses
|
|
* @property \App\Model\Entity\StateUser[] $state_users
|
|
* @property \App\Model\Entity\TransactionGroupCreate[] $transaction_group_creates
|
|
* @property \App\Model\Entity\Transaction[] $transactions
|
|
*/
|
|
class StateGroup 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
|
|
*/
|
|
protected $_accessible = [
|
|
'index_id' => true,
|
|
'name' => true,
|
|
'root_public_key' => true,
|
|
'user_count' => true,
|
|
'index' => true,
|
|
'state_group_addresses' => true,
|
|
'state_users' => true,
|
|
'transaction_group_creates' => true,
|
|
'transactions' => true
|
|
];
|
|
}
|