protected function setRelationDefine($parent)
    {
        $this->changeRelationModel();
        $this->setDefineValues($this->defineValues);
        $this->relations['thumbnails']['datas'] = $parent->thumbnails()->get(['slug','photo_width','photo_height'])->toArray();
        $this->relations['extras']['datas'] = $parent->extras()->get(['name','type'])->toArray();
        $this->setOperationRelation($this->relations);
    }