1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-18 20:40:36 +01:00
2020-02-14 17:02:16 +01:00

29 lines
539 B
PHP
Executable File

<?php
namespace Modules\StatiContratto\API\v1;
use API\Interfaces\RetrieveInterface;
use API\Resource;
class StatiContratti extends Resource implements RetrieveInterface
{
public function retrieve($request)
{
$table = 'co_staticontratti';
$select = [
'*',
];
$where = $request['where'];
if (empty($where['deleted_at'])) {
$where['deleted_at'] = null;
}
return [
'select' => $select,
'table' => $table,
];
}
}