41 lines
684 B
PHP
41 lines
684 B
PHP
<?php
|
|
|
|
namespace Hura8\Components\Staff\Model;
|
|
|
|
use Hura8\Interfaces\AppResponse;
|
|
use Hura8\System\Model\aEntityBaseModel;
|
|
|
|
|
|
class StaffDepartmentModel extends aEntityBaseModel
|
|
{
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct('department');
|
|
}
|
|
|
|
|
|
protected function extendedFilterOptions() : array
|
|
{
|
|
return [
|
|
// empty for now
|
|
];
|
|
}
|
|
|
|
|
|
protected function _buildQueryConditionExtend(array $filter_condition) : ?array
|
|
{
|
|
$where_clause = "";
|
|
$bind_types = [];
|
|
$bind_values = [];
|
|
|
|
return [
|
|
$where_clause,
|
|
$bind_types,
|
|
$bind_values
|
|
];
|
|
}
|
|
|
|
|
|
}
|