<?php
/**
 * Created by PhpStorm.
 * User: Bojidar Slaveykov
 * Date: 2/27/2020
 * Time: 12:50 PM
 */
namespace MicroweberPackages\Menu\TranslateTables;

use MicroweberPackages\Menu\Repositories\MenuRepository;
use MicroweberPackages\Multilanguage\TranslateTable;

class TranslateMenu extends TranslateTable {

    protected $relId = 'id';
    protected $relType = 'menus';

    protected $columns = [
        'title',
        'description',
    ];

    protected $repositoryClass = MenuRepository::class;
    protected $repositoryMethods = [
        'getById',
        'getMenusByParentId',
    ];
}
