public function getPackage($urlAction = 'view')
    {
        $p = [];
        $p['id'] = $this->primaryKey;
        $p['descriptor'] = $this->descriptor;
        $p['url'] = false;
        if (method_exists($this, 'getUrl')) {
            $p['url'] = Url::to($this->getUrl($urlAction));
        }

        return $p;
    }