src/Psecio/Gatekeeper/GroupParentModel.php
<?php
namespace Psecio\Gatekeeper;
class GroupParentModel extends \Psecio\Gatekeeper\Model\Mysql
{
/**
* Database table name
* @var string
*/
protected $tableName = 'group_parent';
/**
* Model properties
* @var array
*/
protected $properties = array(
'id' => array(
'description' => 'Record ID',
'column' => 'id',
'type' => 'integer'
),
'groupId' => array(
'description' => 'Group ID',
'column' => 'group_id',
'type' => 'integer'
),
'parentId' => array(
'description' => 'Parent ID',
'column' => 'parent_id',
'type' => 'integer'
),
'created' => array(
'description' => 'Date Created',
'column' => 'created',
'type' => 'datetime'
),
'updated' => array(
'description' => 'Date Updated',
'column' => 'updated',
'type' => 'datetime'
)
);
}