mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-06 16:28:41 +00:00
fix visibility
This commit is contained in:
parent
6dbac57df4
commit
8b398f908e
|
|
@ -54,20 +54,4 @@ class GroupPermissionMapper extends DataMapperAbstract
|
|||
* @since 1.0.0
|
||||
*/
|
||||
protected static $primaryField = 'group_permission_id';
|
||||
|
||||
/**
|
||||
* Get object.
|
||||
*
|
||||
* @param mixed $primaryKey Key
|
||||
* @param int $relations Load relations
|
||||
* @param mixed $fill Object to fill
|
||||
*
|
||||
* @return Group
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function get($primaryKey, int $relations = RelationType::ALL, $fill = null)
|
||||
{
|
||||
return parent::get($primaryKey, $relations, $fill);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,23 +27,23 @@ namespace Modules\Admin\Models;
|
|||
*/
|
||||
abstract class PermissionAbstract
|
||||
{
|
||||
private $id = 0;
|
||||
protected $id = 0;
|
||||
|
||||
private $unit = null;
|
||||
protected $unit = null;
|
||||
|
||||
private $app = null;
|
||||
protected $app = null;
|
||||
|
||||
private $module = null;
|
||||
protected $module = null;
|
||||
|
||||
private $from = 0;
|
||||
protected $from = 0;
|
||||
|
||||
private $type = null;
|
||||
protected $type = null;
|
||||
|
||||
private $element = null;
|
||||
protected $element = null;
|
||||
|
||||
private $component = null;
|
||||
protected $component = null;
|
||||
|
||||
private $permission = 0;
|
||||
protected $permission = 0;
|
||||
|
||||
public function getId()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user