public function tableName()
    {
        $audit = Yii::app()->getModule('audit');
        if (!empty($audit->modelMap[get_class($this)]['tableName']))
            return $audit->modelMap[get_class($this)]['tableName'];
        return strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', get_class($this)));
    }