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

}
