<?php

namespace Hura8\Components\Article\Model;

use Hura8\Interfaces\iSearch;
use Hura8\System\Model\aSearchBaseModel;

class ArticleSearchModel extends aSearchBaseModel  implements iSearch
{

    private  $filter_fields = [
        "status"=> "tb_article.status",
    ];

    private  $fulltext_fields = [
        "keywords" => ["tb_article.title", ],
    ];


    public function __construct()
    {
        parent::__construct(
            "tb_article",
            $this->fulltext_fields,
            $this->filter_fields
        );
    }

}
