<?php

namespace Velis\User\Absence;

use Velis\Model\DataObject as DataObject;
use Velis\Model\Cacheable as Cacheable;
use Velis\Lang;

/**
 * Absences report
 * @author Bartosz Izdebski <bartosz.izdebski@velis.pl>
 */
class Type extends DataObject implements Cacheable
{

    /**
     * @return string
     */
    protected function _getTableName()
    {
        return 'acl.user_absence_type_tab';
    }

    /**
     * Removes type
     */
    public function remove()
    {
        parent::_remove();
    }

    /**
     * Returns name
     */
    public function getName()
    {
        return $this->getTranslatedName();
    }
}
