public function getVisibleAttributes()
    {
        $result = $this->getAttributes();
        $hidden = $this->getHidden();
        foreach ($hidden as $forHide) {
            unset($result[$forHide]);
        }

        return $result;
    }