<?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
        );
    }

}
