This commit is contained in:
Dennis Eichhorn 2021-09-27 23:16:53 +02:00
commit d5dd19543a
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,6 @@ declare(strict_types=1);
namespace Modules\Admin\Controller;
use Model\App;
use Model\AppMapper;
use Modules\Admin\Models\Account;
use Modules\Admin\Models\AccountMapper;
use Modules\Admin\Models\AccountPermission;

View File

@ -69,4 +69,5 @@ class App
{
return $this->id;
}
}
}

View File

@ -33,10 +33,10 @@ final class AppMapper extends DataMapperAbstract
* @since 1.0.0
*/
protected static array $columns = [
'app_id' => ['name' => 'app_id', 'type' => 'int', 'internal' => 'id'],
'app_name' => ['name' => 'app_name', 'type' => 'string', 'internal' => 'name'],
'app_id' => ['name' => 'app_id', 'type' => 'int', 'internal' => 'id'],
'app_name' => ['name' => 'app_name', 'type' => 'string', 'internal' => 'name'],
'app_theme' => ['name' => 'app_theme', 'type' => 'string', 'internal' => 'theme'],
'app_status' => ['name' => 'app_status', 'type' => 'int', 'internal' => 'status'],
'app_status' => ['name' => 'app_status', 'type' => 'int', 'internal' => 'status'],
];
/**