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,30 @@
<?php
namespace Hura8\Components\Order\Model;
use Hura8\Interfaces\iSearch;
use Hura8\System\Model\aSearchBaseModel;
class OrderSearchModel extends aSearchBaseModel implements iSearch
{
private $filter_fields = [
"folder" => "tb_order.price",
];
private $fulltext_fields = [
"keywords" => ["tb_order.buyerName", ],
];
public function __construct()
{
parent::__construct(
"tb_order",
$this->fulltext_fields,
$this->filter_fields
);
}
}