gradido/src/Model/Entity/StateUserRole.php
2021-03-16 16:42:40 +01:00

31 lines
732 B
PHP

<?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
/**
* StateUserRole Entity
*
* @property int $id
* @property int $state_user_id
* @property int $role_id
*
* @property \App\Model\Entity\StateUser $state_user
*/
class StateUserRole 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 = [
'state_user_id' => true,
'role_id' => true
];
}