<?php

namespace Velis\App\Setting;

use Velis\Model\DataObject;
use Velis\Model\Cacheable;

/**
 * Application module
 */
class Modules extends DataObject implements Cacheable
{

    /**
     * Returns related table name
     * @return string
     */
    protected function _getTableName()
    {
        return 'acl.app_module_tab';
    }


    /**
     * Returns module name in current language
     * @return string
     */
    public function getName()
    {
        return $this->getTranslatedName();
    }
}
