This commit is contained in:
2024-01-31 11:36:25 +07:00
parent caef156a05
commit 4561bd68d1
125 changed files with 9117 additions and 58 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace Hura8\Components\Banner\Model;
use Hura8\Interfaces\iSearch;
use Hura8\System\Model\aSearchBaseModel;
class BannerSearchModel extends aSearchBaseModel implements iSearch
{
private $filter_fields = [
"location" => "tb_banner.location",
"status" => "tb_banner.status",
];
private $fulltext_fields = [
"keywords" => ["tb_banner.title",],
];
public function __construct()
{
parent::__construct(
"tb_banner",
$this->fulltext_fields,
$this->filter_fields
);
//$this->createTableSearch();
}
}